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>
This commit is contained in:
Simon Glass
2023-09-14 10:55:56 -06:00
committed by Tom Rini
parent 3b58de4d0b
commit 4483184127

View File

@@ -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