Commit 72df68cc authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini

exynos: kconfig: move board select menu and common settings

Becuase the board select menu in arch/arm/Kconfig is too big,
move the Exynos board select menu to exynos/Kconfig.

Consolidate also common settings (CONFIG_SYS_CPU="armv7" and
CONFIG_SYS_SOC="exynos").
Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
parent 47539e23
......@@ -374,35 +374,8 @@ config TARGET_BCM958300K
config TARGET_BCM958622HR
bool "Support bcm958622hr"
config TARGET_ARNDALE
bool "Support arndale"
config TARGET_ORIGEN
bool "Support origen"
config TARGET_SMDK5250
bool "Support smdk5250"
config TARGET_SNOW
bool "Support snow"
config TARGET_PEACH_PIT
bool "Support peach-pit"
config TARGET_SMDK5420
bool "Support smdk5420"
config TARGET_SMDKV310
bool "Support smdkv310"
config TARGET_TRATS
bool "Support trats"
config TARGET_TRATS2
bool "Support trats2"
config TARGET_S5PC210_UNIVERSAL
bool "Support s5pc210_universal"
config ARCH_EXYNOS
bool "Samsung EXYNOS"
config TARGET_HIGHBANK
bool "Support highbank"
......@@ -659,6 +632,8 @@ config TARGET_JORNADA
endchoice
source "arch/arm/cpu/armv7/exynos/Kconfig"
source "arch/arm/cpu/arm926ejs/kirkwood/Kconfig"
source "arch/arm/cpu/armv7/rmobile/Kconfig"
......@@ -796,17 +771,9 @@ source "board/raspberrypi/rpi_b/Kconfig"
source "board/ronetix/pm9261/Kconfig"
source "board/ronetix/pm9263/Kconfig"
source "board/ronetix/pm9g45/Kconfig"
source "board/samsung/arndale/Kconfig"
source "board/samsung/goni/Kconfig"
source "board/samsung/origen/Kconfig"
source "board/samsung/smdk2410/Kconfig"
source "board/samsung/smdk5250/Kconfig"
source "board/samsung/smdk5420/Kconfig"
source "board/samsung/smdkc100/Kconfig"
source "board/samsung/smdkv310/Kconfig"
source "board/samsung/trats/Kconfig"
source "board/samsung/trats2/Kconfig"
source "board/samsung/universal_c210/Kconfig"
source "board/sandisk/sansa_fuze_plus/Kconfig"
source "board/scb9328/Kconfig"
source "board/schulercontrol/sc_sps_1/Kconfig"
......
if ARCH_EXYNOS
choice
prompt "EXYNOS board select"
config TARGET_SMDKV310
bool "Exynos4210 SMDKV310 board"
config TARGET_TRATS
bool "Exynos4210 Trats board"
config TARGET_S5PC210_UNIVERSAL
bool "EXYNOS4210 Universal C210 board"
config TARGET_ORIGEN
bool "Exynos4412 Origen board"
config TARGET_TRATS2
bool "Exynos4412 Trat2 board"
config TARGET_ARNDALE
bool "Exynos5250 Arndale board"
config TARGET_SMDK5250
bool "SMDK5250 board"
config TARGET_SNOW
bool "Snow board"
config TARGET_SMDK5420
bool "SMDK5420 board"
config TARGET_PEACH_PIT
bool "Peach Pi board"
endchoice
config SYS_CPU
string
default "armv7"
config SYS_SOC
string
default "exynos"
source "board/samsung/smdkv310/Kconfig"
source "board/samsung/trats/Kconfig"
source "board/samsung/universal_c210/Kconfig"
source "board/samsung/origen/Kconfig"
source "board/samsung/trats2/Kconfig"
source "board/samsung/arndale/Kconfig"
source "board/samsung/smdk5250/Kconfig"
source "board/samsung/smdk5420/Kconfig"
endif
if TARGET_ARNDALE
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "arndale"
......@@ -12,10 +8,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "arndale"
......
if TARGET_ORIGEN
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "origen"
......@@ -12,10 +8,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "origen"
......
if TARGET_SMDK5250
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "smdk5250"
......@@ -12,10 +8,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "smdk5250"
......@@ -24,10 +16,6 @@ endif
if TARGET_SNOW
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "smdk5250"
......@@ -36,10 +24,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "snow"
......
if TARGET_PEACH_PIT
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "smdk5420"
......@@ -12,10 +8,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "peach-pit"
......@@ -24,10 +16,6 @@ endif
if TARGET_SMDK5420
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "smdk5420"
......@@ -36,10 +24,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "smdk5420"
......
if TARGET_SMDKV310
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "smdkv310"
......@@ -12,10 +8,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "smdkv310"
......
if TARGET_TRATS
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "trats"
......@@ -12,10 +8,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "trats"
......
if TARGET_TRATS2
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "trats2"
......@@ -12,10 +8,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "trats2"
......
if TARGET_S5PC210_UNIVERSAL
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "universal_c210"
......@@ -12,10 +8,6 @@ config SYS_VENDOR
string
default "samsung"
config SYS_SOC
string
default "exynos"
config SYS_CONFIG_NAME
string
default "s5pc210_universal"
......
CONFIG_SPL=y
+S:CONFIG_ARM=y
+S:CONFIG_ARCH_EXYNOS=y
+S:CONFIG_TARGET_ARNDALE=y
CONFIG_SPL=y
+S:CONFIG_ARM=y
+S:CONFIG_ARCH_EXYNOS=y
+S:CONFIG_TARGET_ORIGEN=y
CONFIG_SPL=y
+S:CONFIG_ARM=y
+S:CONFIG_ARCH_EXYNOS=y
+S:CONFIG_TARGET_PEACH_PIT=y
CONFIG_ARM=y
CONFIG_ARCH_EXYNOS=y
CONFIG_TARGET_S5PC210_UNIVERSAL=y
CONFIG_SPL=y
+S:CONFIG_ARM=y
+S:CONFIG_ARCH_EXYNOS=y
+S:CONFIG_TARGET_SMDK5250=y
CONFIG_SPL=y
+S:CONFIG_ARM=y
+S:CONFIG_ARCH_EXYNOS=y
+S:CONFIG_TARGET_SMDK5420=y
CONFIG_SPL=y
+S:CONFIG_ARM=y
+S:CONFIG_ARCH_EXYNOS=y
+S:CONFIG_TARGET_SMDKV310=y
CONFIG_SPL=y
+S:CONFIG_ARM=y
+S:CONFIG_ARCH_EXYNOS=y
+S:CONFIG_TARGET_SNOW=y
CONFIG_ARM=y
CONFIG_ARCH_EXYNOS=y
CONFIG_TARGET_TRATS2=y
CONFIG_ARM=y
CONFIG_ARCH_EXYNOS=y
CONFIG_TARGET_TRATS=y
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment