diff options
author | Simon Glass <sjg@chromium.org> | 2021-09-26 04:43:21 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-08 22:53:26 +0300 |
commit | 0c303f9a6628de9664b4f9140464a6f9d8224c36 (patch) | |
tree | ec2522fbeb6900049f363a27cc8642ec363cd38b /board/synopsys | |
parent | bf371b4cf599ad1a448577daaba997a0b0ba6c9c (diff) | |
download | u-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 'board/synopsys')
-rw-r--r-- | board/synopsys/hsdk/hsdk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c index 892b94bb08..226fbba629 100644 --- a/board/synopsys/hsdk/hsdk.c +++ b/board/synopsys/hsdk/hsdk.c @@ -871,7 +871,7 @@ int board_prep_linux(bootm_headers_t *images) if (env_common.core_mask.val == ALL_CPU_MASK) return 0; - if (!IMAGE_ENABLE_OF_LIBFDT || !images->ft_len) { + if (!CONFIG_IS_ENABLED(OF_LIBFDT) || !images->ft_len) { pr_err("WARN: core_mask setup will work properly only with external DTB!\n"); return 0; } |