aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass2023-09-14 10:55:56 -0600
committerTom Rini2023-09-19 11:36:26 -0400
commit4483184127f8ac36869d014ebe116d4822b30ca7 (patch)
treea50cea02a2de26208ebbf28fbf95f3d4996317c7
parent3b58de4d0b6bde8f8dab0fa0c0dc417e57b6c804 (diff)
Make ARCH_FIXUP_FDT_MEMORY depend on OF_LIBFDT
We need CONFIG_OF_LIBFDT to be able to do fdt fixups, so add that condition. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--boot/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 7ef44a26fb9..2dd05e2e166 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -695,7 +695,7 @@ config SUPPORT_RAW_INITRD
config ARCH_FIXUP_FDT_MEMORY
bool "Enable arch_fixup_memory_banks() call"
- default y
+ default y if OF_LIBFDT
help
Enable FDT memory map syncup before OS boot. This feature can be
used for booting OS with different memory setup where the part of