arm: mvebu: Move Armada XP/38x Kconfig to mach specific Kconfig file
authorStefan Roese <sr@denx.de>
Tue, 25 Aug 2015 11:18:38 +0000 (13:18 +0200)
committerStefan Roese <sr@denx.de>
Tue, 20 Oct 2015 05:12:44 +0000 (07:12 +0200)
Introduce a mach-mvebu/Kconfig for all Armada based SoC's.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/Kconfig
arch/arm/mach-mvebu/Kconfig [new file with mode: 0644]
board/Marvell/db-88f6820-gp/Kconfig
board/Marvell/db-mv784mp-gp/Kconfig
board/maxbcm/Kconfig
configs/db-88f6820-gp_defconfig
configs/db-mv784mp-gp_defconfig
configs/maxbcm_defconfig

index 7981355..29abdcc 100644 (file)
@@ -105,18 +105,8 @@ config KIRKWOOD
        bool "Marvell Kirkwood"
        select CPU_ARM926EJS
 
-config TARGET_DB_88F6820_GP
-       bool "Support DB-88F6820-GP"
-       select CPU_V7
-       select SUPPORT_SPL
-
-config TARGET_DB_MV784MP_GP
-       bool "Support db-mv784mp-gp"
-       select CPU_V7
-       select SUPPORT_SPL
-
-config TARGET_MAXBCM
-       bool "Support maxbcm"
+config ARCH_MVEBU
+       bool "Marvell MVEBU family (Armada XP/38x)"
        select CPU_V7
        select SUPPORT_SPL
 
@@ -684,6 +674,8 @@ source "arch/arm/mach-keystone/Kconfig"
 
 source "arch/arm/mach-kirkwood/Kconfig"
 
+source "arch/arm/mach-mvebu/Kconfig"
+
 source "arch/arm/cpu/armv7/mx7/Kconfig"
 
 source "arch/arm/cpu/armv7/mx6/Kconfig"
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
new file mode 100644 (file)
index 0000000..1aa9640
--- /dev/null
@@ -0,0 +1,21 @@
+if ARCH_MVEBU
+
+choice
+       prompt "Marvell MVEBU (Armada XP/38x) board select"
+       optional
+
+config TARGET_DB_88F6820_GP
+       bool "Support DB-88F6820-GP"
+
+config TARGET_DB_MV784MP_GP
+       bool "Support db-mv784mp-gp"
+
+config TARGET_MAXBCM
+       bool "Support maxbcm"
+
+endchoice
+
+config SYS_SOC
+       default "mvebu"
+
+endif
index b2e9115..f12b968 100644 (file)
@@ -6,9 +6,6 @@ config SYS_BOARD
 config SYS_VENDOR
        default "Marvell"
 
-config SYS_SOC
-       default "mvebu"
-
 config SYS_CONFIG_NAME
        default "db-88f6820-gp"
 
index d0b426e..428a5e1 100644 (file)
@@ -6,9 +6,6 @@ config SYS_BOARD
 config SYS_VENDOR
        default "Marvell"
 
-config SYS_SOC
-       default "mvebu"
-
 config SYS_CONFIG_NAME
        default "db-mv784mp-gp"
 
index e86aa16..2edccfe 100644 (file)
@@ -3,9 +3,6 @@ if TARGET_MAXBCM
 config SYS_BOARD
        default "maxbcm"
 
-config SYS_SOC
-       default "mvebu"
-
 config SYS_CONFIG_NAME
        default "maxbcm"
 
index e22f5f7..24647ce 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG_ARM=y
+CONFIG_ARCH_MVEBU=y
 CONFIG_TARGET_DB_88F6820_GP=y
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
index c9859a8..4e4da3c 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG_ARM=y
+CONFIG_ARCH_MVEBU=y
 CONFIG_TARGET_DB_MV784MP_GP=y
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
index b0b0d6c..5957997 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG_ARM=y
+CONFIG_ARCH_MVEBU=y
 CONFIG_TARGET_MAXBCM=y
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set