Convert CONFIG_ARCH_MAP_SYSMEM to Kconfig
authorTom Rini <trini@konsulko.com>
Tue, 14 Dec 2021 18:36:35 +0000 (13:36 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Dec 2021 21:20:18 +0000 (16:20 -0500)
This converts the following to Kconfig:
   CONFIG_ARCH_MAP_SYSMEM

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/Kconfig
arch/sandbox/Kconfig
include/configs/adp-ae3xx.h
include/configs/adp-ag101p.h

index ba2c57d..ee32e83 100644 (file)
@@ -1,3 +1,7 @@
+config ARCH_MAP_SYSMEM
+       depends on SANDBOX || NDS32
+       def_bool y
+
 config CREATE_ARCH_SYMLINK
        bool
 
index 7cdbaef..477c519 100644 (file)
@@ -1,9 +1,6 @@
 menu "Sandbox architecture"
        depends on SANDBOX
 
-config ARCH_MAP_SYSMEM
-       def_bool y
-
 config SYS_ARCH
        default "sandbox"
 
index 973033d..d583733 100644 (file)
@@ -17,8 +17,6 @@
 
 #define CONFIG_SKIP_TRUNOFF_WATCHDOG
 
-#define CONFIG_ARCH_MAP_SYSMEM
-
 #define CONFIG_BOOTP_SERVERIP
 
 #ifdef CONFIG_SKIP_LOWLEVEL_INIT
index f533ada..f2c0a00 100644 (file)
@@ -15,8 +15,6 @@
  */
 #define CONFIG_USE_INTERRUPT
 
-#define CONFIG_ARCH_MAP_SYSMEM
-
 #define CONFIG_BOOTP_SERVERIP
 
 #ifndef CONFIG_SKIP_LOWLEVEL_INIT