[U-Boot] [PATCH v3 0/14] arm: kconfig: move board select menus and other settings to SoC dir

Masahiro Yamada yamada.m at jp.panasonic.com
Sun Aug 31 00:10:54 CEST 2014


There are lots of boards supported in ARM architecture.
The board select menu in arch/arm/Kconfig is already too fat.

This series introduces platform select between arch select and
board select.

  ARCH select (ARM)
   |-- Platform select
       |-- Board select

Many (not all) of boards have been moved to $(SOC)/Kconfig.

I built all the boards and confirmed the same binaries are
produced with/without thie series.

 Changes in v3
 -------------

 - Rebase on the current u-boot/master.
   Now this series can cleanly apply on commit 6defdc0b5.

 Changes in v2
 -------------

 - Fix some board names. (consmetic)


Changes in v3:
  - Resolve a merge conflict.  Move Colibri T30 board too.

Changes in v2:
  - Fix board names (The names were taken from DTS)
  - Fix some board names pointed out by Luka Perkov.

Masahiro Yamada (14):
  zynq: kconfig: move board select menu and common settings
  tegra: kconfig: move board select menu and common settings
  rmobile: kconfig: move board select menu and common settings
  versatile: kconfig: move common settings
  kirkwood: kconfig: refactor Kconfig and defconfig
  exynos: kconfig: move board select menu and common settings
  davinci: kconfig: move board select menu and common settings
  omap3: kconfig: move board select menu and common settings
  omap4: kconfig: move board select menu and common settings
  omap5: kconfig: move board select menu and common settings
  keystone: kconfig: move board select menu and common settings
  orion5x: kconfig: move board select menu and common settings
  highbank: kconfig: move common settings
  nomadik: kconfig: move board select menu and common settings

 arch/arm/Kconfig                               | 461 ++++---------------------
 arch/arm/cpu/arm926ejs/davinci/Kconfig         |  79 +++++
 arch/arm/cpu/arm926ejs/kirkwood/Kconfig        |  89 +++++
 arch/arm/cpu/arm926ejs/nomadik/Kconfig         |  21 ++
 arch/arm/cpu/arm926ejs/orion5x/Kconfig         |  21 ++
 arch/arm/cpu/arm926ejs/versatile/Kconfig       |  23 ++
 arch/arm/cpu/armv7/exynos/Kconfig              |  55 +++
 {board => arch/arm/cpu/armv7}/highbank/Kconfig |   2 +-
 arch/arm/cpu/armv7/keystone/Kconfig            |  24 ++
 arch/arm/cpu/armv7/omap3/Kconfig               | 107 ++++++
 arch/arm/cpu/armv7/omap4/Kconfig               |  29 ++
 arch/arm/cpu/armv7/omap5/Kconfig               |  29 ++
 arch/arm/cpu/armv7/rmobile/Kconfig             |  37 ++
 arch/arm/cpu/armv7/tegra-common/Kconfig        |  30 ++
 arch/arm/cpu/armv7/tegra114/Kconfig            |  17 +
 arch/arm/cpu/armv7/tegra124/Kconfig            |  21 ++
 arch/arm/cpu/armv7/tegra20/Kconfig             |  53 +++
 arch/arm/cpu/armv7/tegra30/Kconfig             |  29 ++
 arch/arm/cpu/armv7/zynq/Kconfig                |  43 +++
 arch/arm/include/asm/arch-tegra114/tegra.h     |   2 -
 arch/arm/include/asm/arch-tegra124/tegra.h     |   2 -
 arch/arm/include/asm/arch-tegra20/tegra.h      |   2 -
 arch/arm/include/asm/arch-tegra30/tegra.h      |   2 -
 board/8dtech/eco5pk/Kconfig                    |   8 -
 board/Barix/ipam390/Kconfig                    |   8 -
 board/LaCie/edminiv2/Kconfig                   |   8 -
 board/LaCie/net2big_v2/Kconfig                 |   8 -
 board/LaCie/netspace_v2/Kconfig                |   8 -
 board/LaCie/wireless_space/Kconfig             |   8 -
 board/Marvell/dreamplug/Kconfig                |   8 -
 board/Marvell/guruplug/Kconfig                 |   8 -
 board/Marvell/mv88f6281gtw_ge/Kconfig          |   8 -
 board/Marvell/openrd/Kconfig                   |   8 -
 board/Marvell/rd6281a/Kconfig                  |   8 -
 board/Marvell/sheevaplug/Kconfig               |   8 -
 board/Seagate/dockstar/Kconfig                 |   8 -
 board/Seagate/goflexhome/Kconfig               |   8 -
 board/ait/cam_enc_4xx/Kconfig                  |   8 -
 board/armltd/versatile/Kconfig                 |  71 ----
 board/atmark-techno/armadillo-800eva/Kconfig   |   8 -
 board/avionic-design/medcom-wide/Kconfig       |   9 -
 board/avionic-design/plutux/Kconfig            |   9 -
 board/avionic-design/tec-ng/Kconfig            |   9 -
 board/avionic-design/tec/Kconfig               |   9 -
 board/buffalo/lsxl/Kconfig                     |   8 -
 board/cloudengines/pogo_e02/Kconfig            |   8 -
 board/comelit/dig297/Kconfig                   |   8 -
 board/compal/paz00/Kconfig                     |   9 -
 board/compulab/cm_t35/Kconfig                  |   8 -
 board/compulab/cm_t54/Kconfig                  |   8 -
 board/compulab/trimslice/Kconfig               |   9 -
 board/corscience/tricorder/Kconfig             |   8 -
 board/d-link/dns325/Kconfig                    |   8 -
 board/davinci/da8xxevm/Kconfig                 |  24 --
 board/davinci/dm355evm/Kconfig                 |   8 -
 board/davinci/dm355leopard/Kconfig             |   8 -
 board/davinci/dm365evm/Kconfig                 |   8 -
 board/davinci/dm6467evm/Kconfig                |   8 -
 board/davinci/dvevm/Kconfig                    |   8 -
 board/davinci/ea20/Kconfig                     |   8 -
 board/davinci/schmoogie/Kconfig                |   8 -
 board/davinci/sffsdr/Kconfig                   |   8 -
 board/davinci/sonata/Kconfig                   |   8 -
 board/enbw/enbw_cmc/Kconfig                    |   8 -
 board/gumstix/duovero/Kconfig                  |   8 -
 board/htkw/mcx/Kconfig                         |   8 -
 board/iomega/iconnect/Kconfig                  |   8 -
 board/isee/igep00x0/Kconfig                    |   8 -
 board/karo/tk71/Kconfig                        |   8 -
 board/keymile/km_arm/Kconfig                   |   8 -
 board/kmc/kzm9g/Kconfig                        |   8 -
 board/logicpd/am3517evm/Kconfig                |   8 -
 board/logicpd/omap3som/Kconfig                 |   8 -
 board/logicpd/zoom1/Kconfig                    |   8 -
 board/matrix_vision/mvblx/Kconfig              |   8 -
 board/nokia/rx51/Kconfig                       |   8 -
 board/nvidia/beaver/Kconfig                    |   9 -
 board/nvidia/cardhu/Kconfig                    |   9 -
 board/nvidia/dalmore/Kconfig                   |   9 -
 board/nvidia/harmony/Kconfig                   |   9 -
 board/nvidia/jetson-tk1/Kconfig                |   9 -
 board/nvidia/seaboard/Kconfig                  |   9 -
 board/nvidia/venice2/Kconfig                   |   9 -
 board/nvidia/ventana/Kconfig                   |   9 -
 board/nvidia/whistler/Kconfig                  |   9 -
 board/omicron/calimain/Kconfig                 |   8 -
 board/overo/Kconfig                            |   8 -
 board/pandora/Kconfig                          |   8 -
 board/raidsonic/ib62x0/Kconfig                 |   8 -
 board/renesas/alt/Kconfig                      |   8 -
 board/renesas/koelsch/Kconfig                  |   8 -
 board/renesas/lager/Kconfig                    |   8 -
 board/samsung/arndale/Kconfig                  |   8 -
 board/samsung/origen/Kconfig                   |   8 -
 board/samsung/smdk5250/Kconfig                 |  16 -
 board/samsung/smdk5420/Kconfig                 |  16 -
 board/samsung/smdkv310/Kconfig                 |   8 -
 board/samsung/trats/Kconfig                    |   8 -
 board/samsung/trats2/Kconfig                   |   8 -
 board/samsung/universal_c210/Kconfig           |   8 -
 board/st/nhk8815/Kconfig                       |  10 +-
 board/technexion/tao3530/Kconfig               |   8 -
 board/technexion/twister/Kconfig               |   8 -
 board/teejet/mt_ventoux/Kconfig                |   8 -
 board/ti/am3517crane/Kconfig                   |   8 -
 board/ti/beagle/Kconfig                        |   8 -
 board/ti/dra7xx/Kconfig                        |   8 -
 board/ti/evm/Kconfig                           |  24 --
 board/ti/ks2_evm/Kconfig                       |  16 -
 board/ti/omap5_uevm/Kconfig                    |   8 -
 board/ti/panda/Kconfig                         |   8 -
 board/ti/sdp3430/Kconfig                       |   8 -
 board/ti/sdp4430/Kconfig                       |   8 -
 board/timll/devkit8000/Kconfig                 |   8 -
 board/toradex/colibri_t20_iris/Kconfig         |   9 -
 board/toradex/colibri_t30/Kconfig              |   9 -
 board/xilinx/zynq/Kconfig                      |  95 -----
 board/xilinx/zynq/MAINTAINERS                  |  12 +-
 configs/alt_defconfig                          |   1 +
 configs/am3517_crane_defconfig                 |   1 +
 configs/am3517_evm_defconfig                   |   1 +
 configs/armadillo-800eva_defconfig             |   1 +
 configs/arndale_defconfig                      |   1 +
 configs/beaver_defconfig                       |   3 +-
 configs/calimain_defconfig                     |   1 +
 configs/cam_enc_4xx_defconfig                  |   1 +
 configs/cardhu_defconfig                       |   3 +-
 configs/cm_t35_defconfig                       |   1 +
 configs/cm_t54_defconfig                       |   1 +
 configs/colibri_t20_iris_defconfig             |   3 +-
 configs/colibri_t30_defconfig                  |   3 +-
 configs/d2net_v2_defconfig                     |   1 +
 configs/da830evm_defconfig                     |   1 +
 configs/da850_am18xxevm_defconfig              |   1 +
 configs/da850evm_defconfig                     |   1 +
 configs/da850evm_direct_nor_defconfig          |   1 +
 configs/dalmore_defconfig                      |   3 +-
 configs/davinci_dm355evm_defconfig             |   1 +
 configs/davinci_dm355leopard_defconfig         |   1 +
 configs/davinci_dm365evm_defconfig             |   1 +
 configs/davinci_dm6467Tevm_defconfig           |   1 +
 configs/davinci_dm6467evm_defconfig            |   1 +
 configs/davinci_dvevm_defconfig                |   1 +
 configs/davinci_schmoogie_defconfig            |   1 +
 configs/davinci_sffsdr_defconfig               |   1 +
 configs/davinci_sonata_defconfig               |   1 +
 configs/devkit8000_defconfig                   |   1 +
 configs/dig297_defconfig                       |   1 +
 configs/dns325_defconfig                       |   1 +
 configs/dockstar_defconfig                     |   1 +
 configs/dra7xx_evm_defconfig                   |   1 +
 configs/dra7xx_evm_qspiboot_defconfig          |   1 +
 configs/dra7xx_evm_uart3_defconfig             |   1 +
 configs/dreamplug_defconfig                    |   1 +
 configs/duovero_defconfig                      |   1 +
 configs/ea20_defconfig                         |   1 +
 configs/eco5pk_defconfig                       |   1 +
 configs/edminiv2_defconfig                     |   1 +
 configs/enbw_cmc_defconfig                     |   1 +
 configs/goflexhome_defconfig                   |   1 +
 configs/guruplug_defconfig                     |   1 +
 configs/harmony_defconfig                      |   3 +-
 configs/hawkboard_defconfig                    |   1 +
 configs/hawkboard_uart_defconfig               |   1 +
 configs/highbank_defconfig                     |   2 +-
 configs/ib62x0_defconfig                       |   1 +
 configs/iconnect_defconfig                     |   1 +
 configs/igep0020_defconfig                     |   1 +
 configs/igep0020_nand_defconfig                |   1 +
 configs/igep0030_defconfig                     |   1 +
 configs/igep0030_nand_defconfig                |   1 +
 configs/igep0032_defconfig                     |   1 +
 configs/inetspace_v2_defconfig                 |   1 +
 configs/ipam390_defconfig                      |   1 +
 configs/jetson-tk1_defconfig                   |   3 +-
 configs/k2e_evm_defconfig                      |   1 +
 configs/k2hk_evm_defconfig                     |   1 +
 configs/km_kirkwood_128m16_defconfig           |   1 +
 configs/km_kirkwood_defconfig                  |   1 +
 configs/km_kirkwood_pci_defconfig              |   1 +
 configs/kmcoge5un_defconfig                    |   1 +
 configs/kmnusa_defconfig                       |   1 +
 configs/kmsugp1_defconfig                      |   1 +
 configs/kmsuv31_defconfig                      |   1 +
 configs/koelsch_defconfig                      |   1 +
 configs/kzm9g_defconfig                        |   1 +
 configs/lager_defconfig                        |   1 +
 configs/lschlv2_defconfig                      |   1 +
 configs/lsxhl_defconfig                        |   1 +
 configs/mcx_defconfig                          |   1 +
 configs/medcom-wide_defconfig                  |   3 +-
 configs/mgcoge3un_defconfig                    |   1 +
 configs/mt_ventoux_defconfig                   |   1 +
 configs/mv88f6281gtw_ge_defconfig              |   1 +
 configs/net2big_v2_defconfig                   |   1 +
 configs/netspace_lite_v2_defconfig             |   1 +
 configs/netspace_max_v2_defconfig              |   1 +
 configs/netspace_mini_v2_defconfig             |   1 +
 configs/netspace_v2_defconfig                  |   1 +
 configs/nhk8815_defconfig                      |   3 +-
 configs/nhk8815_onenand_defconfig              |   3 +-
 configs/nokia_rx51_defconfig                   |   1 +
 configs/omap3_beagle_defconfig                 |   1 +
 configs/omap3_evm_defconfig                    |   1 +
 configs/omap3_evm_quick_mmc_defconfig          |   1 +
 configs/omap3_evm_quick_nand_defconfig         |   1 +
 configs/omap3_ha_defconfig                     |   1 +
 configs/omap3_logic_defconfig                  |   1 +
 configs/omap3_mvblx_defconfig                  |   1 +
 configs/omap3_overo_defconfig                  |   1 +
 configs/omap3_pandora_defconfig                |   1 +
 configs/omap3_sdp3430_defconfig                |   1 +
 configs/omap3_zoom1_defconfig                  |   1 +
 configs/omap4_panda_defconfig                  |   1 +
 configs/omap4_sdp4430_defconfig                |   1 +
 configs/omap5_uevm_defconfig                   |   1 +
 configs/openrd_base_defconfig                  |   1 +
 configs/openrd_client_defconfig                |   1 +
 configs/openrd_ultimate_defconfig              |   1 +
 configs/origen_defconfig                       |   1 +
 configs/paz00_defconfig                        |   3 +-
 configs/peach-pit_defconfig                    |   1 +
 configs/plutux_defconfig                       |   3 +-
 configs/pogo_e02_defconfig                     |   1 +
 configs/portl2_defconfig                       |   1 +
 configs/rd6281a_defconfig                      |   1 +
 configs/s5pc210_universal_defconfig            |   1 +
 configs/seaboard_defconfig                     |   3 +-
 configs/sheevaplug_defconfig                   |   1 +
 configs/smdk5250_defconfig                     |   1 +
 configs/smdk5420_defconfig                     |   1 +
 configs/smdkv310_defconfig                     |   1 +
 configs/snow_defconfig                         |   1 +
 configs/tao3530_defconfig                      |   1 +
 configs/tec-ng_defconfig                       |   3 +-
 configs/tec_defconfig                          |   3 +-
 configs/tk71_defconfig                         |   1 +
 configs/trats2_defconfig                       |   1 +
 configs/trats_defconfig                        |   1 +
 configs/tricorder_defconfig                    |   1 +
 configs/tricorder_flash_defconfig              |   1 +
 configs/trimslice_defconfig                    |   3 +-
 configs/twister_defconfig                      |   1 +
 configs/venice2_defconfig                      |   3 +-
 configs/ventana_defconfig                      |   3 +-
 configs/versatileab_defconfig                  |   2 +-
 configs/versatilepb_defconfig                  |   2 +-
 configs/versatileqemu_defconfig                |   2 +-
 configs/whistler_defconfig                     |   3 +-
 configs/wireless_space_defconfig               |   1 +
 configs/zynq_microzed_defconfig                |   1 +
 configs/zynq_zc70x_defconfig                   |   1 +
 configs/zynq_zc770_xm010_defconfig             |   1 +
 configs/zynq_zc770_xm012_defconfig             |   1 +
 configs/zynq_zc770_xm013_defconfig             |   1 +
 configs/zynq_zed_defconfig                     |   1 +
 include/configs/alt.h                          |   1 -
 include/configs/am3517_crane.h                 |   1 -
 include/configs/am3517_evm.h                   |   1 -
 include/configs/armadillo-800eva.h             |   1 -
 include/configs/cm_t35.h                       |   1 -
 include/configs/devkit8000.h                   |   1 -
 include/configs/dig297.h                       |   1 -
 include/configs/dns325.h                       |   1 -
 include/configs/dockstar.h                     |   1 -
 include/configs/dreamplug.h                    |   1 -
 include/configs/edminiv2.h                     |   1 -
 include/configs/goflexhome.h                   |   1 -
 include/configs/guruplug.h                     |   1 -
 include/configs/ib62x0.h                       |   1 -
 include/configs/iconnect.h                     |   1 -
 include/configs/km/km_arm.h                    |   1 -
 include/configs/koelsch.h                      |   1 -
 include/configs/kzm9g.h                        |   1 -
 include/configs/lacie_kw.h                     |   1 -
 include/configs/lager.h                        |   1 -
 include/configs/lsxl.h                         |   1 -
 include/configs/mcx.h                          |   1 -
 include/configs/mv88f6281gtw_ge.h              |   1 -
 include/configs/nhk8815.h                      |   2 -
 include/configs/nokia_rx51.h                   |   1 -
 include/configs/omap3_evm_common.h             |   1 -
 include/configs/omap3_logic.h                  |   1 -
 include/configs/omap3_mvblx.h                  |   1 -
 include/configs/omap3_pandora.h                |   1 -
 include/configs/omap3_sdp3430.h                |   1 -
 include/configs/openrd.h                       |   1 -
 include/configs/pogo_e02.h                     |   1 -
 include/configs/rd6281a.h                      |   1 -
 include/configs/sheevaplug.h                   |   1 -
 include/configs/tam3517-common.h               |   1 -
 include/configs/tao3530.h                      |   1 -
 include/configs/tegra-common.h                 |   1 -
 include/configs/ti_omap3_common.h              |   1 -
 include/configs/ti_omap4_common.h              |   1 -
 include/configs/ti_omap5_common.h              |   1 -
 include/configs/tk71.h                         |   1 -
 include/configs/tricorder.h                    |   1 -
 include/configs/wireless_space.h               |   1 -
 include/configs/zynq-common.h                  |   1 -
 300 files changed, 927 insertions(+), 1465 deletions(-)
 create mode 100644 arch/arm/cpu/arm926ejs/davinci/Kconfig
 create mode 100644 arch/arm/cpu/arm926ejs/kirkwood/Kconfig
 create mode 100644 arch/arm/cpu/arm926ejs/nomadik/Kconfig
 create mode 100644 arch/arm/cpu/arm926ejs/orion5x/Kconfig
 create mode 100644 arch/arm/cpu/arm926ejs/versatile/Kconfig
 create mode 100644 arch/arm/cpu/armv7/exynos/Kconfig
 rename {board => arch/arm/cpu/armv7}/highbank/Kconfig (90%)
 create mode 100644 arch/arm/cpu/armv7/keystone/Kconfig
 create mode 100644 arch/arm/cpu/armv7/omap3/Kconfig
 create mode 100644 arch/arm/cpu/armv7/omap4/Kconfig
 create mode 100644 arch/arm/cpu/armv7/omap5/Kconfig
 create mode 100644 arch/arm/cpu/armv7/rmobile/Kconfig
 create mode 100644 arch/arm/cpu/armv7/tegra-common/Kconfig
 create mode 100644 arch/arm/cpu/armv7/tegra114/Kconfig
 create mode 100644 arch/arm/cpu/armv7/tegra124/Kconfig
 create mode 100644 arch/arm/cpu/armv7/tegra20/Kconfig
 create mode 100644 arch/arm/cpu/armv7/tegra30/Kconfig
 create mode 100644 arch/arm/cpu/armv7/zynq/Kconfig
 delete mode 100644 board/armltd/versatile/Kconfig
 delete mode 100644 board/xilinx/zynq/Kconfig

-- 
1.9.1



More information about the U-Boot mailing list