summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-08-31 07:11:04 +0900
committerTom Rini <trini@ti.com>2014-08-30 21:21:59 -0400
commit6c5431ac81c762be8e5eefefdc41c0c8bda5dede (patch)
tree00177bcefb99936b52a815702a4d1f440e773c64 /arch/arm
parentd08215a5f13a11745d4adae3dab76c5e8fadbe0a (diff)
downloadu-boot-6c5431ac81c762be8e5eefefdc41c0c8bda5dede.tar.gz
u-boot-6c5431ac81c762be8e5eefefdc41c0c8bda5dede.tar.xz
u-boot-6c5431ac81c762be8e5eefefdc41c0c8bda5dede.zip
omap5: kconfig: move board select menu and common settings
Becuase the board select menu in arch/arm/Kconfig is too big, move the OMAP5 board select menu to omap5/Kconfig. Move also common settings (CONFIG_SYS_CPU="armv7" and CONFIG_SYS_SOC="omap5"). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: Tom Rini <trini@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig15
-rw-r--r--arch/arm/cpu/armv7/omap5/Kconfig29
2 files changed, 33 insertions, 11 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 639b8ccaa5..7a191c733b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -418,14 +418,8 @@ config OMAP34XX
config OMAP44XX
bool "OMAP44XX SoC"
-config TARGET_CM_T54
- bool "Support cm_t54"
-
-config TARGET_DRA7XX_EVM
- bool "Support dra7xx_evm"
-
-config TARGET_OMAP5_UEVM
- bool "Support omap5_uevm"
+config OMAP54XX
+ bool "OMAP54XX SoC"
config RMOBILE
bool "Renesas ARM SoCs"
@@ -527,6 +521,8 @@ source "arch/arm/cpu/armv7/omap3/Kconfig"
source "arch/arm/cpu/armv7/omap4/Kconfig"
+source "arch/arm/cpu/armv7/omap5/Kconfig"
+
source "arch/arm/cpu/armv7/rmobile/Kconfig"
source "arch/arm/cpu/armv7/tegra-common/Kconfig"
@@ -576,7 +572,6 @@ source "board/cirrus/edb93xx/Kconfig"
source "board/cm4008/Kconfig"
source "board/cm41xx/Kconfig"
source "board/compulab/cm_t335/Kconfig"
-source "board/compulab/cm_t54/Kconfig"
source "board/congatec/cgtqmx6eval/Kconfig"
source "board/creative/xfi3/Kconfig"
source "board/davedenx/qong/Kconfig"
@@ -661,9 +656,7 @@ source "board/syteco/zmx25/Kconfig"
source "board/taskit/stamp9g20/Kconfig"
source "board/ti/am335x/Kconfig"
source "board/ti/am43xx/Kconfig"
-source "board/ti/dra7xx/Kconfig"
source "board/ti/ks2_evm/Kconfig"
-source "board/ti/omap5_uevm/Kconfig"
source "board/ti/ti814x/Kconfig"
source "board/ti/ti816x/Kconfig"
source "board/ti/tnetv107xevm/Kconfig"
diff --git a/arch/arm/cpu/armv7/omap5/Kconfig b/arch/arm/cpu/armv7/omap5/Kconfig
new file mode 100644
index 0000000000..be803939bc
--- /dev/null
+++ b/arch/arm/cpu/armv7/omap5/Kconfig
@@ -0,0 +1,29 @@
+if OMAP54XX
+
+choice
+ prompt "OMAP5 board select"
+
+config TARGET_CM_T54
+ bool "CompuLab CM-T54"
+
+config TARGET_OMAP5_UEVM
+ bool "TI OMAP5 uEVM board"
+
+config TARGET_DRA7XX_EVM
+ bool "TI DRA7XX"
+
+endchoice
+
+config SYS_CPU
+ string
+ default "armv7"
+
+config SYS_SOC
+ string
+ default "omap5"
+
+source "board/compulab/cm_t54/Kconfig"
+source "board/ti/omap5_uevm/Kconfig"
+source "board/ti/dra7xx/Kconfig"
+
+endif