kconfig: arm: select CPU_V7 for some new boards
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 6 Nov 2014 02:39:26 +0000 (11:39 +0900)
committerTom Rini <trini@ti.com>
Thu, 13 Nov 2014 13:37:18 +0000 (08:37 -0500)
This commit adds "select CPU_V7" for some new boards that were not
covered by commit 2e07c249a67e
(kconfig: arm: introduce symbol for ARM CPUs).

Redundant "SYS_CPU" defines and "string" directives should be removed.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Georges Savoundararadj <savoundg@gmail.com>
arch/arm/Kconfig
arch/arm/cpu/armv7/tegra-common/Kconfig
board/Marvell/db-mv784mp-gp/Kconfig
board/kosagi/novena/Kconfig
board/maxbcm/Kconfig
board/ti/ks2_evm/Kconfig

index 79ccc06d5c929f5c5a63be2b09043bd6fefd9e47..da1452f0ab8df66faa867963af7dd178486fc30c 100644 (file)
@@ -225,9 +225,11 @@ config KIRKWOOD
 
 config TARGET_DB_MV784MP_GP
        bool "Support db-mv784mp-gp"
+       select CPU_V7
 
 config TARGET_MAXBCM
        bool "Support maxbcm"
+       select CPU_V7
 
 config TARGET_DEVKIT3250
        bool "Support devkit3250"
@@ -629,6 +631,7 @@ config TARGET_HUMMINGBOARD
 
 config TARGET_KOSAGI_NOVENA
        bool "Support Kosagi Novena"
+       select CPU_V7
 
 config TARGET_TQMA6
        bool "TQ Systems TQMa6 board"
index 3ea6d7651cb7fd87af753248aa91465a8e95863a..1446452c2363f2b3f24039e9b56d5f2041e53b77 100644 (file)
@@ -20,10 +20,6 @@ endchoice
 config USE_PRIVATE_LIBGCC
        default y if SPL_BUILD
 
-config SYS_CPU
-       default "arm720t" if SPL_BUILD
-       default "armv7" if !SPL_BUILD
-
 source "arch/arm/cpu/armv7/tegra20/Kconfig"
 source "arch/arm/cpu/armv7/tegra30/Kconfig"
 source "arch/arm/cpu/armv7/tegra114/Kconfig"
index f94a444cf23259394e11ef485d8d2af476d13a4e..98aa10ade0be58523537a43dd34e13452e2851ea 100644 (file)
@@ -1,23 +1,15 @@
 if TARGET_DB_MV784MP_GP
 
-config SYS_CPU
-       string
-       default "armv7"
-
 config SYS_BOARD
-       string
        default "db-mv784mp-gp"
 
 config SYS_VENDOR
-       string
        default "Marvell"
 
 config SYS_SOC
-       string
        default "armada-xp"
 
 config SYS_CONFIG_NAME
-       string
        default "db-mv784mp-gp"
 
 endif
index 4ba63999aed0a8f258e4985b0c145213b3c326ef..94f1754a47b0462b8d2b246235924678d913bbb5 100644 (file)
@@ -1,8 +1,5 @@
 if TARGET_KOSAGI_NOVENA
 
-config SYS_CPU
-       default "armv7"
-
 config SYS_BOARD
        default "novena"
 
index d34e2abf3677fb744f0853ec2c9829f1e717a642..d833ca0e2518ec3bdfa5982a8827e4cbbbf5c601 100644 (file)
@@ -1,19 +1,12 @@
 if TARGET_MAXBCM
 
-config SYS_CPU
-       string
-       default "armv7"
-
 config SYS_BOARD
-       string
        default "maxbcm"
 
 config SYS_SOC
-       string
        default "armada-xp"
 
 config SYS_CONFIG_NAME
-       string
        default "maxbcm"
 
 endif
index 96c5f22eadeb544f47b7459356210cb8bea7c6d9..384b175e9cda5c3439f225b86a0a5cf3b163337c 100644 (file)
@@ -27,15 +27,12 @@ endif
 if TARGET_K2L_EVM
 
 config SYS_BOARD
-       string
        default "ks2_evm"
 
 config SYS_VENDOR
-       string
        default "ti"
 
 config SYS_CONFIG_NAME
-       string
        default "k2l_evm"
 
 endif