From 3491ba6311c0aede2c6530ef42e2df6b58cf000d Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sun, 31 Aug 2014 07:11:01 +0900 Subject: davinci: kconfig: move board select menu and common settings Becuase the board select menu in arch/arm/Kconfig is too big, move the Davinci board select menu to davinci/Kconfig. Move also common settings (CONFIG_SYS_CPU="arm926ejs" and CONFIG_SYS_SOC="davinci"). Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini Cc: Heiko Schocher Cc: Sandeep Paulraj --- arch/arm/Kconfig | 67 +++------------------------- arch/arm/cpu/arm926ejs/davinci/Kconfig | 79 ++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+), 61 deletions(-) create mode 100644 arch/arm/cpu/arm926ejs/davinci/Kconfig (limited to 'arch') diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 13087e1a83..24614e3ead 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -131,53 +131,10 @@ config TARGET_TAURUS config TARGET_STAMP9G20 bool "Support stamp9g20" -config TARGET_CAM_ENC_4XX - bool "Support cam_enc_4xx" - -config TARGET_IPAM390 - bool "Support ipam390" - -config TARGET_DA830EVM - bool "Support da830evm" - -config TARGET_DA850EVM - bool "Support da850evm" - -config TARGET_HAWKBOARD - bool "Support hawkboard" - -config TARGET_DAVINCI_DM355EVM - bool "Support davinci_dm355evm" - -config TARGET_DAVINCI_DM355LEOPARD - bool "Support davinci_dm355leopard" - -config TARGET_DAVINCI_DM365EVM - bool "Support davinci_dm365evm" - -config TARGET_DAVINCI_DM6467EVM - bool "Support davinci_dm6467evm" - -config TARGET_DAVINCI_DVEVM - bool "Support davinci_dvevm" - -config TARGET_EA20 - bool "Support ea20" - -config TARGET_DAVINCI_SCHMOOGIE - bool "Support davinci_schmoogie" - -config TARGET_DAVINCI_SFFSDR - bool "Support davinci_sffsdr" - -config TARGET_DAVINCI_SONATA - bool "Support davinci_sonata" - -config TARGET_ENBW_CMC - bool "Support enbw_cmc" - -config TARGET_CALIMAIN - bool "Support calimain" +config ARCH_DAVINCI + bool "TI DaVinci" + help + Support for TI's DaVinci platform. config KIRKWOOD bool "Marvell Kirkwood" @@ -632,6 +589,8 @@ config TARGET_JORNADA endchoice +source "arch/arm/cpu/arm926ejs/davinci/Kconfig" + source "arch/arm/cpu/armv7/exynos/Kconfig" source "arch/arm/cpu/arm926ejs/kirkwood/Kconfig" @@ -646,7 +605,6 @@ source "arch/arm/cpu/armv7/zynq/Kconfig" source "board/8dtech/eco5pk/Kconfig" source "board/aristainetos/Kconfig" -source "board/Barix/ipam390/Kconfig" source "board/BuR/kwb/Kconfig" source "board/BuR/tseries/Kconfig" source "board/BuS/eb_cpux9k2/Kconfig" @@ -657,7 +615,6 @@ source "board/Marvell/aspenite/Kconfig" source "board/Marvell/dkb/Kconfig" source "board/Marvell/gplugd/Kconfig" source "board/afeb9260/Kconfig" -source "board/ait/cam_enc_4xx/Kconfig" source "board/altera/socfpga/Kconfig" source "board/armadeus/apf27/Kconfig" source "board/armltd/integrator/Kconfig" @@ -695,22 +652,11 @@ source "board/congatec/cgtqmx6eval/Kconfig" source "board/corscience/tricorder/Kconfig" source "board/creative/xfi3/Kconfig" source "board/davedenx/qong/Kconfig" -source "board/davinci/da8xxevm/Kconfig" -source "board/davinci/dm355evm/Kconfig" -source "board/davinci/dm355leopard/Kconfig" -source "board/davinci/dm365evm/Kconfig" -source "board/davinci/dm6467evm/Kconfig" -source "board/davinci/dvevm/Kconfig" -source "board/davinci/ea20/Kconfig" -source "board/davinci/schmoogie/Kconfig" -source "board/davinci/sffsdr/Kconfig" -source "board/davinci/sonata/Kconfig" source "board/denx/m28evk/Kconfig" source "board/denx/m53evk/Kconfig" source "board/egnite/ethernut5/Kconfig" source "board/embest/mx6boards/Kconfig" source "board/emk/top9000/Kconfig" -source "board/enbw/enbw_cmc/Kconfig" source "board/esd/meesc/Kconfig" source "board/esd/otc570/Kconfig" source "board/esg/ima3-mx53/Kconfig" @@ -758,7 +704,6 @@ source "board/matrix_vision/mvblx/Kconfig" source "board/mpl/vcma9/Kconfig" source "board/nokia/rx51/Kconfig" source "board/olimex/mx23_olinuxino/Kconfig" -source "board/omicron/calimain/Kconfig" source "board/overo/Kconfig" source "board/palmld/Kconfig" source "board/palmtc/Kconfig" diff --git a/arch/arm/cpu/arm926ejs/davinci/Kconfig b/arch/arm/cpu/arm926ejs/davinci/Kconfig new file mode 100644 index 0000000000..be1b0f9126 --- /dev/null +++ b/arch/arm/cpu/arm926ejs/davinci/Kconfig @@ -0,0 +1,79 @@ +if ARCH_DAVINCI + +choice + prompt "DaVinci board select" + +config TARGET_ENBW_CMC + bool "EnBW CMC board" + +config TARGET_IPAM390 + bool "IPAM390 board" + +config TARGET_DA830EVM + bool "DA830 EVM board" + +config TARGET_DA850EVM + bool "DA850 EVM board" + +config TARGET_CAM_ENC_4XX + bool "CAM ENC 4xx board" + +config TARGET_HAWKBOARD + bool "Hawkboard" + +config TARGET_DAVINCI_DM355EVM + bool "DM355 EVM board" + +config TARGET_DAVINCI_DM355LEOPARD + bool "DM355 Leopard board" + +config TARGET_DAVINCI_DM365EVM + bool "DM365 EVM board" + +config TARGET_DAVINCI_DM6467EVM + bool "DM6467 EVM board" + +config TARGET_DAVINCI_DVEVM + bool "DVEVM board" + +config TARGET_EA20 + bool "EA20 board" + +config TARGET_DAVINCI_SCHMOOGIE + bool "Schmoogie board" + +config TARGET_DAVINCI_SFFSDR + bool "SFFSDR board" + +config TARGET_DAVINCI_SONATA + bool "Sonata board" + +config TARGET_CALIMAIN + bool "Calimain board" + +endchoice + +config SYS_CPU + string + default "arm926ejs" + +config SYS_SOC + string + default "davinci" + +source "board/enbw/enbw_cmc/Kconfig" +source "board/ait/cam_enc_4xx/Kconfig" +source "board/Barix/ipam390/Kconfig" +source "board/davinci/da8xxevm/Kconfig" +source "board/davinci/dm355evm/Kconfig" +source "board/davinci/dm355leopard/Kconfig" +source "board/davinci/dm365evm/Kconfig" +source "board/davinci/dm6467evm/Kconfig" +source "board/davinci/dvevm/Kconfig" +source "board/davinci/ea20/Kconfig" +source "board/davinci/schmoogie/Kconfig" +source "board/davinci/sffsdr/Kconfig" +source "board/davinci/sonata/Kconfig" +source "board/omicron/calimain/Kconfig" + +endif -- cgit v1.2.1