]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 798135574a799cb279f5f068406b34d0c4725bb8..29abdcc695e441578576b59c4b3c37dfd4bf4228 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 b2e911512b9908947d753c6597dfae9c8931f168..f12b96829df881c0abade4504f05e5e68ac00f6f 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 d0b426e8d92be0e4f1504d1d23d9c81e4ae6be6e..428a5e15161fc2ff3c87834443c47f0f1989ca83 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 e86aa16247c0772ec0e6a5651be6480ccdb7969f..2edccfea535d6b13c039580f8fd31424055d1099 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 e22f5f798e5a34d72ffad11f2ae76ccf8cb45897..24647cea4f7d95cbafcdb33ef92c58b44eab5eb7 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 c9859a8a5bea5a09cbbf44a7f4b8c6d2b90cd1a0..4e4da3c30531aae1925ad3ef092e51624e5f1589 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 b0b0d6c72c6a30a47b4bfe691a2806cff4a63971..59579976a38079bb4c2799b715a9190b53466eb3 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