[U-Boot] [PATCH 2/6] mvebu: a38x: drop duplicate platform id symbols

Baruch Siach baruch at tkos.co.il
Mon Jun 18 18:56:23 UTC 2018


Use generic mvebu Kconfig symbols like all other mvebu boards.

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 arch/arm/mach-mvebu/Kconfig |  3 +++
 board/gdsys/a38x/Kconfig    | 12 ------------
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 5415b5a7bfe2..9226511f7f91 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -148,6 +148,7 @@ config SYS_BOARD
 	default "ds414" if TARGET_DS414
 	default "maxbcm" if TARGET_MAXBCM
 	default "theadorable" if TARGET_THEADORABLE
+	default "a38x" if TARGET_CONTROLCENTERDC
 
 config SYS_CONFIG_NAME
 	default "clearfog" if TARGET_CLEARFOG
@@ -163,6 +164,7 @@ config SYS_CONFIG_NAME
 	default "theadorable" if TARGET_THEADORABLE
 	default "turris_omnia" if TARGET_TURRIS_OMNIA
 	default "turris_mox" if TARGET_TURRIS_MOX
+	default "controlcenterdc" if TARGET_CONTROLCENTERDC
 
 config SYS_VENDOR
 	default "Marvell" if TARGET_DB_MV784MP_GP
@@ -176,6 +178,7 @@ config SYS_VENDOR
 	default "Synology" if TARGET_DS414
 	default "CZ.NIC" if TARGET_TURRIS_OMNIA
 	default "CZ.NIC" if TARGET_TURRIS_MOX
+	default "gdsys" if TARGET_CONTROLCENTERDC
 
 config SYS_SOC
 	default "mvebu"
diff --git a/board/gdsys/a38x/Kconfig b/board/gdsys/a38x/Kconfig
index 3fdef64b5927..ff11eb2371e8 100644
--- a/board/gdsys/a38x/Kconfig
+++ b/board/gdsys/a38x/Kconfig
@@ -1,17 +1,5 @@
 if TARGET_CONTROLCENTERDC
 
-config SYS_BOARD
-	default "a38x"
-
-config SYS_VENDOR
-	default "gdsys"
-
-config SYS_SOC
-	default "mvebu"
-
-config SYS_CONFIG_NAME
-	default "controlcenterdc"
-
 menu "Controlcenter DC board options"
 
 choice
-- 
2.17.1



More information about the U-Boot mailing list