]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_SYS_FDT_LOAD_ADDR to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 24 Nov 2021 16:26:41 +0000 (09:26 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 5 Dec 2021 16:23:15 +0000 (09:23 -0700)
This converts the following to Kconfig:
   CONFIG_SYS_FDT_LOAD_ADDR

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/Kconfig
include/configs/sandbox.h
scripts/config_whitelist.txt

index 7606469c94ece368c55971c2eb7a4f3f6824adc8..7cdbaefb119a9eff5794150ec97dc072b0122eff 100644 (file)
@@ -68,4 +68,14 @@ config SANDBOX_BITS_PER_LONG
        default 32 if HOST_32BIT
        default 64 if HOST_64BIT
 
+config SYS_FDT_LOAD_ADDR
+       hex "Address at which to load devicetree"
+       default 0x100
+       help
+         With sandbox the devicetree is loaded into the emulated RAM. This sets
+         the address that is used. There must be enough space at this address
+         to load the full devicetree without it overwriting anything else.
+
+         See `doc/arch/sandbox.rst` for more information.
+
 endmenu
index b1689d39f1178ee68c2db9fd050a2b278b8d883a..fd972b8c46d2827a20969f9ec0bbf21dc1bced7d 100644 (file)
 
 #define CONFIG_SYS_CBSIZE              1024    /* Console I/O Buffer Size */
 
-/* turn on command-line edit/c/auto */
-
-/* SPI - enable all SPI flash types for testing purposes */
-
-#define CONFIG_SYS_FDT_LOAD_ADDR               0x100
-
 #define CONFIG_PHYSMEM
 
 /* Size of our emulated memory */
index e012dbc3b70fc7d5ad6bf4cdbad7b6a1f38cc86d..a8c3a3886bf6c2e70ba0d8120386b010deef1e65 100644 (file)
@@ -1609,7 +1609,6 @@ CONFIG_SYS_FAST_CLK
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN
 CONFIG_SYS_FAULT_MII_ADDR
 CONFIG_SYS_FDT_BASE
-CONFIG_SYS_FDT_LOAD_ADDR
 CONFIG_SYS_FDT_PAD
 CONFIG_SYS_FEC0_IOBASE
 CONFIG_SYS_FEC1_IOBASE