Commit 2e07c249 authored by Georges Savoundararadj's avatar Georges Savoundararadj Committed by Tom Rini

kconfig: arm: introduce symbol for ARM CPUs

This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.

For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.

Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: default avatarGeorges Savoundararadj <savoundg@gmail.com>
Acked-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
parent 678398b1
This diff is collapsed.
......@@ -57,9 +57,6 @@ config TARGET_CALIMAIN
endchoice
config SYS_CPU
default "arm926ejs"
config SYS_SOC
default "davinci"
......
......@@ -59,9 +59,6 @@ config TARGET_GOFLEXHOME
endchoice
config SYS_CPU
default "arm926ejs"
config SYS_SOC
default "kirkwood"
......
......@@ -8,9 +8,6 @@ config NOMADIK_NHK8815
endchoice
config SYS_CPU
default "arm926ejs"
config SYS_SOC
default "nomadik"
......
......@@ -8,9 +8,6 @@ config TARGET_EDMINIV2
endchoice
config SYS_CPU
default "arm926ejs"
config SYS_SOC
default "orion5x"
......
if ARCH_VERSATILE
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "versatile"
......
......@@ -51,9 +51,6 @@ config TARGET_PEACH_PIT
endchoice
config SYS_CPU
default "armv7"
config SYS_SOC
default "exynos"
......
if ARCH_HIGHBANK
config SYS_CPU
default "armv7"
config SYS_BOARD
default "highbank"
......
......@@ -14,9 +14,6 @@ config TARGET_K2L_EVM
endchoice
config SYS_CPU
default "armv7"
config SYS_SOC
default "keystone"
......
......@@ -90,9 +90,6 @@ config TARGET_TWISTER
endchoice
config SYS_CPU
default "armv7"
config SYS_SOC
default "omap3"
......
......@@ -14,9 +14,6 @@ config TARGET_OMAP4_SDP4430
endchoice
config SYS_CPU
default "armv7"
config SYS_SOC
default "omap4"
......
......@@ -14,9 +14,6 @@ config TARGET_DRA7XX_EVM
endchoice
config SYS_CPU
default "armv7"
config SYS_SOC
default "omap5"
......
......@@ -20,9 +20,6 @@ config TARGET_ALT
endchoice
config SYS_CPU
default "armv7"
config SYS_SOC
default "rmobile"
......
......@@ -13,9 +13,6 @@ config TARGET_SMDKC100
endchoice
config SYS_CPU
default "armv7"
config SYS_SOC
default "s5pc1xx"
......
menu "Panasonic UniPhier platform"
depends on ARCH_UNIPHIER
config SYS_CPU
string
default "armv7"
config SYS_SOC
string
default "uniphier"
config SYS_CONFIG_NAME
string
default "ph1_pro4" if MACH_PH1_PRO4
default "ph1_ld4" if MACH_PH1_LD4
default "ph1_sld8" if MACH_PH1_SLD8
......
......@@ -17,9 +17,6 @@ config TARGET_ZYNQ_ZC770
endchoice
config SYS_CPU
default "armv7"
config SYS_BOARD
default "zynq"
......
if TARGET_KWB
config SYS_CPU
default "armv7"
config SYS_BOARD
default "kwb"
......
if TARGET_TSERIES
config SYS_CPU
default "armv7"
config SYS_BOARD
default "tseries"
......
if TARGET_EB_CPUX9K2
config SYS_CPU
default "arm920t"
config SYS_BOARD
default "eb_cpux9k2"
......
if TARGET_VL_MA2SC
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "vl_ma2sc"
......
if TARGET_FLEA3
config SYS_CPU
default "arm1136"
config SYS_BOARD
default "flea3"
......
if TARGET_ASPENITE
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "aspenite"
......
if TARGET_DKB
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "dkb"
......
if TARGET_GPLUGD
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "gplugd"
......
if TARGET_AFEB9260
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "afeb9260"
......
if TARGET_SOCFPGA_CYCLONE5
config SYS_CPU
default "armv7"
config SYS_BOARD
default "socfpga"
......
if TARGET_ARISTAINETOS
config SYS_CPU
default "armv7"
config SYS_BOARD
default "aristainetos"
......
if TARGET_APF27
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "apf27"
......
if TARGET_INTEGRATORAP_CM720T
config SYS_CPU
default "arm720t"
config SYS_BOARD
default "integrator"
......@@ -16,9 +13,6 @@ endif
if TARGET_INTEGRATORAP_CM920T
config SYS_CPU
default "arm920t"
config SYS_BOARD
default "integrator"
......@@ -32,9 +26,6 @@ endif
if TARGET_INTEGRATORCP_CM920T
config SYS_CPU
default "arm920t"
config SYS_BOARD
default "integrator"
......@@ -48,9 +39,6 @@ endif
if TARGET_INTEGRATORAP_CM926EJS
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "integrator"
......@@ -64,9 +52,6 @@ endif
if TARGET_INTEGRATORCP_CM926EJS
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "integrator"
......@@ -80,9 +65,6 @@ endif
if TARGET_INTEGRATORCP_CM1136
config SYS_CPU
default "arm1136"
config SYS_BOARD
default "integrator"
......@@ -96,9 +78,6 @@ endif
if TARGET_INTEGRATORAP_CM946ES
config SYS_CPU
default "arm946es"
config SYS_BOARD
default "integrator"
......@@ -112,9 +91,6 @@ endif
if TARGET_INTEGRATORCP_CM946ES
config SYS_CPU
default "arm946es"
config SYS_BOARD
default "integrator"
......
if TARGET_VEXPRESS_CA15_TC2
config SYS_CPU
default "armv7"
config SYS_BOARD
default "vexpress"
......@@ -16,9 +13,6 @@ endif
if TARGET_VEXPRESS_CA5X2
config SYS_CPU
default "armv7"
config SYS_BOARD
default "vexpress"
......@@ -32,9 +26,6 @@ endif
if TARGET_VEXPRESS_CA9X4
config SYS_CPU
default "armv7"
config SYS_BOARD
default "vexpress"
......
if TARGET_AT91RM9200EK
config SYS_CPU
default "arm920t"
config SYS_BOARD
default "at91rm9200ek"
......
if TARGET_AT91SAM9260EK
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "at91sam9260ek"
......
if TARGET_AT91SAM9261EK
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "at91sam9261ek"
......
if TARGET_AT91SAM9263EK
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "at91sam9263ek"
......
if TARGET_AT91SAM9M10G45EK
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "at91sam9m10g45ek"
......
if TARGET_AT91SAM9N12EK
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "at91sam9n12ek"
......
if TARGET_AT91SAM9RLEK
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "at91sam9rlek"
......
if TARGET_AT91SAM9X5EK
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "at91sam9x5ek"
......
if TARGET_SAMA5D3_XPLAINED
config SYS_CPU
default "armv7"
config SYS_BOARD
default "sama5d3_xplained"
......
if TARGET_SAMA5D3XEK
config SYS_CPU
default "armv7"
config SYS_BOARD
default "sama5d3xek"
......
if TARGET_OT1200
config SYS_CPU
default "armv7"
config SYS_BOARD
default "ot1200"
......
if TARGET_BALLOON3
config SYS_CPU
default "pxa"
config SYS_BOARD
default "balloon3"
......
if TARGET_TITANIUM
config SYS_CPU
default "armv7"
config SYS_BOARD
default "titanium"
......
if TARGET_APX4DEVKIT
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "apx4devkit"
......
if TARGET_SNAPPER9260
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "snapper9260"
......
if TARGET_NITROGEN6X
config SYS_CPU
default "armv7"
config SYS_BOARD
default "nitrogen6x"
......
if TARGET_BCM28155_AP
config SYS_CPU
default "armv7"
config SYS_BOARD
default "bcm28155_ap"
......
if TARGET_BCM958300K
config SYS_CPU
default "armv7"
config SYS_BOARD
default "bcm_ep"
......
if TARGET_BCM958622HR
config SYS_CPU
default "armv7"
config SYS_BOARD
default "bcm_ep"
......
if TARGET_SBC35_A9G20
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "sbc35_a9g20"
......
if TARGET_TNY_A9260
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "tny_a9260"
......
if TARGET_USB_A9263
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "usb_a9263"
......
if TARGET_EDB93XX
config SYS_CPU
default "arm920t"
config SYS_BOARD
default "edb93xx"
......
if TARGET_CM4008
config SYS_CPU
default "arm920t"
config SYS_BOARD
default "cm4008"
......
if TARGET_CM41XX
config SYS_CPU
default "arm920t"
config SYS_BOARD
default "cm41xx"
......
if TARGET_CM_FX6
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "cm_fx6"
config SYS_VENDOR
string
default "compulab"
config SYS_SOC
string
default "mx6"
config SYS_CONFIG_NAME
string
default "cm_fx6"
endif
if TARGET_CM_T335
config SYS_CPU
default "armv7"
config SYS_BOARD
default "cm_t335"
......
if TARGET_CGTQMX6EVAL
config SYS_CPU
default "armv7"
config SYS_BOARD
default "cgtqmx6eval"
......
if TARGET_XFI3
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "xfi3"
......
if TARGET_QONG
config SYS_CPU
default "arm1136"
config SYS_BOARD
default "qong"
......
if TARGET_M28EVK
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "m28evk"
......
if TARGET_M53EVK
config SYS_CPU
default "armv7"
config SYS_BOARD
default "m53evk"
......
if TARGET_ETHERNUT5
config SYS_CPU
default "arm926ejs"
config SYS_BOARD
default "ethernut5"
......
if TARGET_EMBESTMX6BOARDS
config SYS_CPU
default "armv7"
config SYS_BOARD
default "mx6boards"
......