summaryrefslogtreecommitdiff
path: root/arch/arc
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 /arch/arc
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 'arch/arc')
-rw-r--r--arch/arc/lib/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/lib/bootm.c b/arch/arc/lib/bootm.c
index 41408c2b46..ed6c5dfa58 100644
--- a/arch/arc/lib/bootm.c
+++ b/arch/arc/lib/bootm.c
@@ -63,7 +63,7 @@ static void boot_jump_linux(bootm_headers_t *images, int flag)
"(fake run for tracing)" : "");
bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel");
- if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) {
+ if (CONFIG_IS_ENABLED(OF_LIBFDT) && images->ft_len) {
r0 = 2;
r2 = (unsigned int)images->ft_addr;
} else {