]> git.sur5r.net Git - u-boot/commitdiff
arm: mvebu: Consolidate board Kconfig options into one file
authorStefan Roese <sr@denx.de>
Mon, 21 Dec 2015 12:40:37 +0000 (13:40 +0100)
committerStefan Roese <sr@denx.de>
Thu, 14 Jan 2016 13:08:59 +0000 (14:08 +0100)
Merging all the board specific Kconfig options into the main Kconfig file
for mach-mvebu makes things easier to maintain.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
arch/arm/Kconfig
arch/arm/mach-mvebu/Kconfig
board/Marvell/db-88f6820-gp/Kconfig [deleted file]
board/Marvell/db-mv784mp-gp/Kconfig [deleted file]
board/maxbcm/Kconfig [deleted file]
board/solidrun/clearfog/Kconfig [deleted file]

index 4b5cd57f71539c1182b5559451211009d87290c0..82e6f2dc91e4cee31921802c4ff53718c85bc4a7 100644 (file)
@@ -775,8 +775,6 @@ source "board/BuR/kwb/Kconfig"
 source "board/BuR/tseries/Kconfig"
 source "board/CarMediaLab/flea3/Kconfig"
 source "board/Marvell/aspenite/Kconfig"
-source "board/Marvell/db-88f6820-gp/Kconfig"
-source "board/Marvell/db-mv784mp-gp/Kconfig"
 source "board/Marvell/gplugd/Kconfig"
 source "board/armadeus/apf27/Kconfig"
 source "board/armltd/vexpress/Kconfig"
@@ -815,7 +813,6 @@ source "board/h2200/Kconfig"
 source "board/hisilicon/hikey/Kconfig"
 source "board/imx31_phycore/Kconfig"
 source "board/isee/igep0033/Kconfig"
-source "board/maxbcm/Kconfig"
 source "board/mpl/vcma9/Kconfig"
 source "board/olimex/mx23_olinuxino/Kconfig"
 source "board/phytec/pcm051/Kconfig"
@@ -828,7 +825,6 @@ source "board/siemens/draco/Kconfig"
 source "board/siemens/pxm2/Kconfig"
 source "board/siemens/rut/Kconfig"
 source "board/silica/pengwyn/Kconfig"
-source "board/solidrun/clearfog/Kconfig"
 source "board/spear/spear300/Kconfig"
 source "board/spear/spear310/Kconfig"
 source "board/spear/spear320/Kconfig"
index 82a439e6afdb4a9232463ad6ba2eda6f92f1cd90..9f4d46bacf12960f27d2d3716e625c03773362ab 100644 (file)
@@ -18,6 +18,23 @@ config TARGET_MAXBCM
 
 endchoice
 
+config SYS_BOARD
+       default "clearfog" if TARGET_CLEARFOG
+       default "db-88f6820-gp" if TARGET_DB_88F6820_GP
+       default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
+       default "maxbcm" if TARGET_MAXBCM
+
+config SYS_CONFIG_NAME
+       default "clearfog" if TARGET_CLEARFOG
+       default "db-88f6820-gp" if TARGET_DB_88F6820_GP
+       default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
+       default "maxbcm" if TARGET_MAXBCM
+
+config SYS_VENDOR
+       default "Marvell" if TARGET_DB_MV784MP_GP
+       default "Marvell" if TARGET_DB_88F6820_GP
+       default "solidrun" if TARGET_CLEARFOG
+
 config SYS_SOC
        default "mvebu"
 
diff --git a/board/Marvell/db-88f6820-gp/Kconfig b/board/Marvell/db-88f6820-gp/Kconfig
deleted file mode 100644 (file)
index f12b968..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-if TARGET_DB_88F6820_GP
-
-config SYS_BOARD
-       default "db-88f6820-gp"
-
-config SYS_VENDOR
-       default "Marvell"
-
-config SYS_CONFIG_NAME
-       default "db-88f6820-gp"
-
-endif
diff --git a/board/Marvell/db-mv784mp-gp/Kconfig b/board/Marvell/db-mv784mp-gp/Kconfig
deleted file mode 100644 (file)
index 428a5e1..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-if TARGET_DB_MV784MP_GP
-
-config SYS_BOARD
-       default "db-mv784mp-gp"
-
-config SYS_VENDOR
-       default "Marvell"
-
-config SYS_CONFIG_NAME
-       default "db-mv784mp-gp"
-
-endif
diff --git a/board/maxbcm/Kconfig b/board/maxbcm/Kconfig
deleted file mode 100644 (file)
index 2edccfe..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-if TARGET_MAXBCM
-
-config SYS_BOARD
-       default "maxbcm"
-
-config SYS_CONFIG_NAME
-       default "maxbcm"
-
-endif
diff --git a/board/solidrun/clearfog/Kconfig b/board/solidrun/clearfog/Kconfig
deleted file mode 100644 (file)
index cdf8938..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-if TARGET_CLEARFOG
-
-config SYS_BOARD
-       default "clearfog"
-
-config SYS_VENDOR
-       default "solidrun"
-
-config SYS_CONFIG_NAME
-       default "clearfog"
-
-endif