omap4: kconfig: move board select menu and common settings
Becuase the board select menu in arch/arm/Kconfig is too big, move the OMAP4 board select menu to omap4/Kconfig. Move also common settings (CONFIG_SYS_CPU="armv7" and CONFIG_SYS_SOC="omap4"). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: Tom Rini <trini@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
3cfbcb58d3
commit
d08215a5f1
@ -415,14 +415,8 @@ config TARGET_HUMMINGBOARD
|
|||||||
config OMAP34XX
|
config OMAP34XX
|
||||||
bool "OMAP34XX SoC"
|
bool "OMAP34XX SoC"
|
||||||
|
|
||||||
config TARGET_DUOVERO
|
config OMAP44XX
|
||||||
bool "Support duovero"
|
bool "OMAP44XX SoC"
|
||||||
|
|
||||||
config TARGET_OMAP4_PANDA
|
|
||||||
bool "Support omap4_panda"
|
|
||||||
|
|
||||||
config TARGET_OMAP4_SDP4430
|
|
||||||
bool "Support omap4_sdp4430"
|
|
||||||
|
|
||||||
config TARGET_CM_T54
|
config TARGET_CM_T54
|
||||||
bool "Support cm_t54"
|
bool "Support cm_t54"
|
||||||
@ -531,6 +525,8 @@ source "arch/arm/cpu/arm926ejs/kirkwood/Kconfig"
|
|||||||
|
|
||||||
source "arch/arm/cpu/armv7/omap3/Kconfig"
|
source "arch/arm/cpu/armv7/omap3/Kconfig"
|
||||||
|
|
||||||
|
source "arch/arm/cpu/armv7/omap4/Kconfig"
|
||||||
|
|
||||||
source "arch/arm/cpu/armv7/rmobile/Kconfig"
|
source "arch/arm/cpu/armv7/rmobile/Kconfig"
|
||||||
|
|
||||||
source "arch/arm/cpu/armv7/tegra-common/Kconfig"
|
source "arch/arm/cpu/armv7/tegra-common/Kconfig"
|
||||||
@ -615,7 +611,6 @@ source "board/freescale/mx6sxsabresd/Kconfig"
|
|||||||
source "board/freescale/vf610twr/Kconfig"
|
source "board/freescale/vf610twr/Kconfig"
|
||||||
source "board/gateworks/gw_ventana/Kconfig"
|
source "board/gateworks/gw_ventana/Kconfig"
|
||||||
source "board/genesi/mx51_efikamx/Kconfig"
|
source "board/genesi/mx51_efikamx/Kconfig"
|
||||||
source "board/gumstix/duovero/Kconfig"
|
|
||||||
source "board/gumstix/pepper/Kconfig"
|
source "board/gumstix/pepper/Kconfig"
|
||||||
source "board/h2200/Kconfig"
|
source "board/h2200/Kconfig"
|
||||||
source "board/hale/tt01/Kconfig"
|
source "board/hale/tt01/Kconfig"
|
||||||
@ -669,8 +664,6 @@ source "board/ti/am43xx/Kconfig"
|
|||||||
source "board/ti/dra7xx/Kconfig"
|
source "board/ti/dra7xx/Kconfig"
|
||||||
source "board/ti/ks2_evm/Kconfig"
|
source "board/ti/ks2_evm/Kconfig"
|
||||||
source "board/ti/omap5_uevm/Kconfig"
|
source "board/ti/omap5_uevm/Kconfig"
|
||||||
source "board/ti/panda/Kconfig"
|
|
||||||
source "board/ti/sdp4430/Kconfig"
|
|
||||||
source "board/ti/ti814x/Kconfig"
|
source "board/ti/ti814x/Kconfig"
|
||||||
source "board/ti/ti816x/Kconfig"
|
source "board/ti/ti816x/Kconfig"
|
||||||
source "board/ti/tnetv107xevm/Kconfig"
|
source "board/ti/tnetv107xevm/Kconfig"
|
||||||
|
29
arch/arm/cpu/armv7/omap4/Kconfig
Normal file
29
arch/arm/cpu/armv7/omap4/Kconfig
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
if OMAP44XX
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "OMAP4 board select"
|
||||||
|
|
||||||
|
config TARGET_DUOVERO
|
||||||
|
bool "OMAP4430 Gumstix Duovero"
|
||||||
|
|
||||||
|
config TARGET_OMAP4_PANDA
|
||||||
|
bool "TI OMAP4 PandaBoard"
|
||||||
|
|
||||||
|
config TARGET_OMAP4_SDP4430
|
||||||
|
bool "TI OMAP4 SDP4430"
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config SYS_CPU
|
||||||
|
string
|
||||||
|
default "armv7"
|
||||||
|
|
||||||
|
config SYS_SOC
|
||||||
|
string
|
||||||
|
default "omap4"
|
||||||
|
|
||||||
|
source "board/gumstix/duovero/Kconfig"
|
||||||
|
source "board/ti/panda/Kconfig"
|
||||||
|
source "board/ti/sdp4430/Kconfig"
|
||||||
|
|
||||||
|
endif
|
@ -1,9 +1,5 @@
|
|||||||
if TARGET_DUOVERO
|
if TARGET_DUOVERO
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
string
|
|
||||||
default "armv7"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
string
|
string
|
||||||
default "duovero"
|
default "duovero"
|
||||||
@ -12,10 +8,6 @@ config SYS_VENDOR
|
|||||||
string
|
string
|
||||||
default "gumstix"
|
default "gumstix"
|
||||||
|
|
||||||
config SYS_SOC
|
|
||||||
string
|
|
||||||
default "omap4"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
string
|
string
|
||||||
default "duovero"
|
default "duovero"
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
if TARGET_OMAP4_PANDA
|
if TARGET_OMAP4_PANDA
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
string
|
|
||||||
default "armv7"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
string
|
string
|
||||||
default "panda"
|
default "panda"
|
||||||
@ -12,10 +8,6 @@ config SYS_VENDOR
|
|||||||
string
|
string
|
||||||
default "ti"
|
default "ti"
|
||||||
|
|
||||||
config SYS_SOC
|
|
||||||
string
|
|
||||||
default "omap4"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
string
|
string
|
||||||
default "omap4_panda"
|
default "omap4_panda"
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
if TARGET_OMAP4_SDP4430
|
if TARGET_OMAP4_SDP4430
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
string
|
|
||||||
default "armv7"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
string
|
string
|
||||||
default "sdp4430"
|
default "sdp4430"
|
||||||
@ -12,10 +8,6 @@ config SYS_VENDOR
|
|||||||
string
|
string
|
||||||
default "ti"
|
default "ti"
|
||||||
|
|
||||||
config SYS_SOC
|
|
||||||
string
|
|
||||||
default "omap4"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
string
|
string
|
||||||
default "omap4_sdp4430"
|
default "omap4_sdp4430"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
|
+S:CONFIG_OMAP44XX=y
|
||||||
+S:CONFIG_TARGET_DUOVERO=y
|
+S:CONFIG_TARGET_DUOVERO=y
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
|
+S:CONFIG_OMAP44XX=y
|
||||||
+S:CONFIG_TARGET_OMAP4_PANDA=y
|
+S:CONFIG_TARGET_OMAP4_PANDA=y
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
|
+S:CONFIG_OMAP44XX=y
|
||||||
+S:CONFIG_TARGET_OMAP4_SDP4430=y
|
+S:CONFIG_TARGET_OMAP4_SDP4430=y
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
/*
|
/*
|
||||||
* High Level Configuration Options
|
* High Level Configuration Options
|
||||||
*/
|
*/
|
||||||
#define CONFIG_OMAP44XX 1 /* which is a 44XX */
|
|
||||||
#define CONFIG_OMAP4430 1 /* which is in a 4430 */
|
#define CONFIG_OMAP4430 1 /* which is in a 4430 */
|
||||||
#define CONFIG_MISC_INIT_R
|
#define CONFIG_MISC_INIT_R
|
||||||
#define CONFIG_ARCH_CPU_INIT
|
#define CONFIG_ARCH_CPU_INIT
|
||||||
|
Loading…
Reference in New Issue
Block a user