summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-09-26 04:43:21 +0300
committerTom Rini <trini@konsulko.com>2021-10-08 22:53:26 +0300
commit0c303f9a6628de9664b4f9140464a6f9d8224c36 (patch)
treeec2522fbeb6900049f363a27cc8642ec363cd38b /include/image.h
parentbf371b4cf599ad1a448577daaba997a0b0ba6c9c (diff)
downloadu-boot-0c303f9a6628de9664b4f9140464a6f9d8224c36.tar.xz
image: Drop IMAGE_ENABLE_OF_LIBFDT
Add a host Kconfig for OF_LIBFDT. With this we can use CONFIG_IS_ENABLED(OF_LIBFDT) directly in the tools build, so drop the unnecessary indirection. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/image.h b/include/image.h
index 6c229212cb..f09eb9de51 100644
--- a/include/image.h
+++ b/include/image.h
@@ -28,7 +28,6 @@ struct fdt_region;
#include <linux/kconfig.h>
/* new uImage format support enabled on host */
-#define IMAGE_ENABLE_OF_LIBFDT 1
#define CONFIG_FIT_VERBOSE 1 /* enable fit_format_{error,warning}() */
#define CONFIG_FIT_RSASSA_PSS 1
@@ -46,8 +45,6 @@ struct fdt_region;
#define IMAGE_ENABLE_IGNORE 1
#define IMAGE_INDENT_STRING " "
-#define IMAGE_ENABLE_OF_LIBFDT CONFIG_IS_ENABLED(OF_LIBFDT)
-
#endif /* USE_HOSTCC */
#if CONFIG_IS_ENABLED(FIT)