mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
image: cleanup pre-processor usage
Replace most #ifdef checks for USE_HOSTCC and CONFIG_* with normal if instructions. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
committed by
Tom Rini
parent
62b07b5173
commit
f14e6eec6c
@@ -1552,6 +1552,10 @@ int board_fit_config_name_match(const char *name);
|
||||
* @return no return value (failure should be handled internally)
|
||||
*/
|
||||
void board_fit_image_post_process(void **p_image, size_t *p_size);
|
||||
#else
|
||||
static inline void board_fit_image_post_process(void **p_image, size_t *p_size)
|
||||
{
|
||||
}
|
||||
#endif /* CONFIG_SPL_FIT_IMAGE_POST_PROCESS */
|
||||
|
||||
#define FDT_ERROR ((ulong)(-1))
|
||||
|
||||
Reference in New Issue
Block a user