summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-28 09:13:59 -0400
committerTom Rini <trini@konsulko.com>2022-06-06 12:09:29 -0400
commit14b481751314eb331af6255d455dcfe996fa7ffb (patch)
tree8491affabe6d8a5a33649bf431b93aabe44e43bd
parentb4b9a00ed5933048d1d3c88bb63d30235f6543c5 (diff)
ax25-ae350: Move CONFIG_SYS_FDT_BASE to Kconfig
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>
-rw-r--r--board/AndesTech/ax25-ae350/Kconfig4
-rw-r--r--include/configs/ax25-ae350.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/board/AndesTech/ax25-ae350/Kconfig b/board/AndesTech/ax25-ae350/Kconfig
index 91eec35f474..36b67f0b524 100644
--- a/board/AndesTech/ax25-ae350/Kconfig
+++ b/board/AndesTech/ax25-ae350/Kconfig
@@ -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
diff --git a/include/configs/ax25-ae350.h b/include/configs/ax25-ae350.h
index 7a1b9dbd080..754e9096194 100644
--- a/include/configs/ax25-ae350.h
+++ b/include/configs/ax25-ae350.h
@@ -20,9 +20,6 @@
* Miscellaneous configurable options
*/
-/* DT blob (fdt) address */
-#define CONFIG_SYS_FDT_BASE 0x800f0000
-
/*
* Physical Memory Map
*/