]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Make ARCH_FIXUP_FDT_MEMORY depend on OF_LIBFDT
authorSimon Glass <sjg@chromium.org>
Thu, 14 Sep 2023 16:55:56 +0000 (10:55 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 19 Sep 2023 15:36:26 +0000 (11:36 -0400)
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>
boot/Kconfig

index 7ef44a26fb92dfe5612a061fc51c30aeee564ac6..2dd05e2e1661ebf0b1aa421b49a83e7c86b338d0 100644 (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