]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
omap5: kconfig: move board select menu and common settings
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Sat, 30 Aug 2014 22:11:04 +0000 (07:11 +0900)
committerTom Rini <trini@ti.com>
Sun, 31 Aug 2014 01:21:59 +0000 (21:21 -0400)
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>
arch/arm/Kconfig
arch/arm/cpu/armv7/omap5/Kconfig [new file with mode: 0644]
board/compulab/cm_t54/Kconfig
board/ti/dra7xx/Kconfig
board/ti/omap5_uevm/Kconfig
configs/cm_t54_defconfig
configs/dra7xx_evm_defconfig
configs/dra7xx_evm_qspiboot_defconfig
configs/dra7xx_evm_uart3_defconfig
configs/omap5_uevm_defconfig
include/configs/ti_omap5_common.h

index 639b8ccaa5f1117ae410cbb27ca77959dc4b2301..7a191c733b34fab513f6beb6228f39ca294e3ec6 100644 (file)
@@ -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 (file)
index 0000000..be80393
--- /dev/null
@@ -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
index 0fe3692c9f381a06c526f733583e15130f9c088b..0edab5c76a14e9b51981f51c8e69ca794d90a165 100644 (file)
@@ -1,9 +1,5 @@
 if TARGET_CM_T54
 
-config SYS_CPU
-       string
-       default "armv7"
-
 config SYS_BOARD
        string
        default "cm_t54"
@@ -12,10 +8,6 @@ config SYS_VENDOR
        string
        default "compulab"
 
-config SYS_SOC
-       string
-       default "omap5"
-
 config SYS_CONFIG_NAME
        string
        default "cm_t54"
index 4b13ef4282444f1f40aec85981279dcab20f89f7..9ee13c53d3300f79f068bd78fee25a12cc6642f7 100644 (file)
@@ -1,9 +1,5 @@
 if TARGET_DRA7XX_EVM
 
-config SYS_CPU
-       string
-       default "armv7"
-
 config SYS_BOARD
        string
        default "dra7xx"
@@ -12,10 +8,6 @@ config SYS_VENDOR
        string
        default "ti"
 
-config SYS_SOC
-       string
-       default "omap5"
-
 config SYS_CONFIG_NAME
        string
        default "dra7xx_evm"
index 7c7d5dcc0f16984541c2a7dbe73128307f91e496..3592e7be037af6eeab54e1c1940e2d8c0ff43635 100644 (file)
@@ -1,9 +1,5 @@
 if TARGET_OMAP5_UEVM
 
-config SYS_CPU
-       string
-       default "armv7"
-
 config SYS_BOARD
        string
        default "omap5_uevm"
@@ -12,10 +8,6 @@ config SYS_VENDOR
        string
        default "ti"
 
-config SYS_SOC
-       string
-       default "omap5"
-
 config SYS_CONFIG_NAME
        string
        default "omap5_uevm"
index b48a171a24ec54abedec23e3e2cfedeb2b80f61c..32efaa233aa2211304ad3b2673b8c5a38dab4a35 100644 (file)
@@ -1,3 +1,4 @@
 CONFIG_SPL=y
 +S:CONFIG_ARM=y
++S:CONFIG_OMAP54XX=y
 +S:CONFIG_TARGET_CM_T54=y
index 82cffd7b19ef3f79d09da8db535f8728194d6b97..297c6b587920359516412759e600cab999e77e49 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1"
 +S:CONFIG_ARM=y
++S:CONFIG_OMAP54XX=y
 +S:CONFIG_TARGET_DRA7XX_EVM=y
index be09f40892a3c53800bd36c1ece20ddcebb48951..92417f267b4882899364d61ae30fdbb8a59762ed 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1,QSPI_BOOT"
 +S:CONFIG_ARM=y
++S:CONFIG_OMAP54XX=y
 +S:CONFIG_TARGET_DRA7XX_EVM=y
index e0d1e4587516019e5078331c5c608d0c89a53eaf..3551317a145289ffa4ba8ce04d1f4e057d133d30 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=3,SPL_YMODEM_SUPPORT"
 +S:CONFIG_ARM=y
++S:CONFIG_OMAP54XX=y
 +S:CONFIG_TARGET_DRA7XX_EVM=y
index 7a19ce9e9731dee26461f1d66f0e717c12ac5df8..86d5c1662e7daeb54a34f9a57f9174723acf4721 100644 (file)
@@ -1,3 +1,4 @@
 CONFIG_SPL=y
 +S:CONFIG_ARM=y
++S:CONFIG_OMAP54XX=y
 +S:CONFIG_TARGET_OMAP5_UEVM=y
index cb928ab8e660c9fb9e600147b23201ee0bd3ed7b..3166392c780e7423df87e048c479c83dbe42b918 100644 (file)
@@ -17,7 +17,6 @@
 #ifndef __CONFIG_TI_OMAP5_COMMON_H
 #define __CONFIG_TI_OMAP5_COMMON_H
 
-#define CONFIG_OMAP54XX
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 #define CONFIG_MISC_INIT_R