ax25-ae350: Move CONFIG_SYS_FDT_BASE to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 28 May 2022 13:13:59 +0000 (09:13 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 16:09:29 +0000 (12:09 -0400)
The address where the device tree will be passed in to U-Boot at is now
moved to the Kconfig file.  If this is user configurable, it needs to be
exposed rather than hidden, and should probably be renamed as well.

Reviewed-by: Rick Chen <rick@andestech.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/AndesTech/ax25-ae350/Kconfig
include/configs/ax25-ae350.h

index 91eec35..36b67f0 100644 (file)
@@ -27,6 +27,10 @@ config SPL_TEXT_BASE
 config SPL_OPENSBI_LOAD_ADDR
        default 0x01000000
 
+config SYS_FDT_BASE
+       hex
+       default 0x800f0000 if OF_SEPARATE
+
 config BOARD_SPECIFIC_OPTIONS # dummy
        def_bool y
        select RISCV_NDS
index 7a1b9db..754e909 100644 (file)
@@ -20,9 +20,6 @@
  * Miscellaneous configurable options
  */
 
-/* DT blob (fdt) address */
-#define CONFIG_SYS_FDT_BASE            0x800f0000
-
 /*
  * Physical Memory Map
  */