summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-12-14 13:36:35 -0500
committerTom Rini <trini@konsulko.com>2021-12-27 16:20:18 -0500
commitba1ed5b022c6f6360e2fd514c3855f89eaa8d353 (patch)
tree07cc6d9fc43e6ad585dcce86aea0b876369526c4
parent9ec4df336ee9c2d5d9b5f361a8bb0680ae90f216 (diff)
downloadu-boot-ba1ed5b022c6f6360e2fd514c3855f89eaa8d353.tar.gz
Convert CONFIG_ARCH_MAP_SYSMEM to Kconfig
This converts the following to Kconfig: CONFIG_ARCH_MAP_SYSMEM Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--arch/Kconfig4
-rw-r--r--arch/sandbox/Kconfig3
-rw-r--r--include/configs/adp-ae3xx.h2
-rw-r--r--include/configs/adp-ag101p.h2
4 files changed, 4 insertions, 7 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index ba2c57d303..ee32e8366e 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -1,3 +1,7 @@
+config ARCH_MAP_SYSMEM
+ depends on SANDBOX || NDS32
+ def_bool y
+
config CREATE_ARCH_SYMLINK
bool
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index 7cdbaefb11..477c51960d 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -1,9 +1,6 @@
menu "Sandbox architecture"
depends on SANDBOX
-config ARCH_MAP_SYSMEM
- def_bool y
-
config SYS_ARCH
default "sandbox"
diff --git a/include/configs/adp-ae3xx.h b/include/configs/adp-ae3xx.h
index 973033d6b4..d583733971 100644
--- a/include/configs/adp-ae3xx.h
+++ b/include/configs/adp-ae3xx.h
@@ -17,8 +17,6 @@
#define CONFIG_SKIP_TRUNOFF_WATCHDOG
-#define CONFIG_ARCH_MAP_SYSMEM
-
#define CONFIG_BOOTP_SERVERIP
#ifdef CONFIG_SKIP_LOWLEVEL_INIT
diff --git a/include/configs/adp-ag101p.h b/include/configs/adp-ag101p.h
index f533ada73f..f2c0a0002d 100644
--- a/include/configs/adp-ag101p.h
+++ b/include/configs/adp-ag101p.h
@@ -15,8 +15,6 @@
*/
#define CONFIG_USE_INTERRUPT
-#define CONFIG_ARCH_MAP_SYSMEM
-
#define CONFIG_BOOTP_SERVERIP
#ifndef CONFIG_SKIP_LOWLEVEL_INIT