Skip to content

Commit

Permalink
arch: Make board selection choices optional
Browse files Browse the repository at this point in the history
By making the board selections optional, every defconfig will include
the board selection when running savedefconfig so if a new board is
added to the top of the list of choices the former top's defconfig will
still be correct.

Signed-off-by: Joe Hershberger <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Cc: Tom Rini <[email protected]>
  • Loading branch information
jhershbe authored and trini committed May 12, 2015
1 parent 698a12b commit a26cd04
Show file tree
Hide file tree
Showing 54 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ config ARC_CACHE_LINE_SHIFT

choice
prompt "Target select"
optional

config TARGET_DUMMY
bool "Dummy target"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ config SEMIHOSTING

choice
prompt "Target select"
optional

config ARCH_AT91
bool "Atmel AT91"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/exynos/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if ARCH_EXYNOS

choice
prompt "EXYNOS board select"
optional

config TARGET_SMDKV310
select SUPPORT_SPL
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/mx5/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ config MX53

choice
prompt "MX5 board select"
optional

config TARGET_USBARMORY
bool "Support USB armory"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/mx6/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ config MX6SX

choice
prompt "MX6 board select"
optional

config TARGET_SECOMX6
bool "Support secomx6 boards"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/omap3/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if OMAP34XX

choice
prompt "OMAP3 board select"
optional

config TARGET_AM3517_EVM
bool "AM3517 EVM"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/omap4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if OMAP44XX

choice
prompt "OMAP4 board select"
optional

config TARGET_DUOVERO
bool "OMAP4430 Gumstix Duovero"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/omap5/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if OMAP54XX

choice
prompt "OMAP5 board select"
optional

config TARGET_CM_T54
bool "CompuLab CM-T54"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/rmobile/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if RMOBILE

choice
prompt "Renesus ARM SoCs board select"
optional

config TARGET_ARMADILLO_800EVA
bool "armadillo 800 eva board"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/cpu/armv7/s5pc1xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if ARCH_S5PC1XX

choice
prompt "S5PC1XX board select"
optional

config TARGET_S5P_GONI
bool "S5P Goni board"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-at91/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if ARCH_AT91

choice
prompt "Atmel AT91 board select"
optional

config TARGET_AT91RM9200EK
bool "Atmel AT91RM9200 evaluation kit"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-bcm283x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ menu "Broadcom BCM283X family"

choice
prompt "Broadcom BCM283X board select"
optional

config TARGET_RPI
bool "Raspberry Pi"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-davinci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if ARCH_DAVINCI

choice
prompt "DaVinci board select"
optional

config TARGET_ENBW_CMC
bool "EnBW CMC board"
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-integrator/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ menu "Integrator Options"

choice
prompt "Integrator platform select"
optional

config ARCH_INTEGRATOR_AP
bool "Support Integrator/AP platform"
Expand All @@ -18,6 +19,7 @@ config ARCH_CINTEGRATOR

choice
prompt "Integrator core module select"
optional

config CM720T
bool "Core Module for ARM720T"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-keystone/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if ARCH_KEYSTONE

choice
prompt "TI Keystone board select"
optional

config TARGET_K2HK_EVM
bool "TI Keystone 2 Kepler/Hawking EVM"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-kirkwood/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if KIRKWOOD

choice
prompt "Marvell Kirkwood board select"
optional

config TARGET_OPENRD
bool "Marvell OpenRD Board"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-nomadik/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if ARCH_NOMADIK

choice
prompt "Nomadik board select"
optional

config NOMADIK_NHK8815
bool "ST 8815 Nomadik Hardware Kit"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-orion5x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if ORION5X

choice
prompt "Marvell Orion board select"
optional

config TARGET_EDMINIV2
bool "LaCie Ethernet Disk mini V2"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-socfpga/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if ARCH_SOCFPGA

choice
prompt "Altera SOCFPGA board select"
optional

config TARGET_SOCFPGA_ARRIA5
bool "Altera SOCFPGA Arria V"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if TEGRA

choice
prompt "Tegra SoC select"
optional

config TEGRA20
bool "Tegra20 family"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/tegra114/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if TEGRA114

choice
prompt "Tegra114 board select"
optional

config TARGET_DALMORE
bool "NVIDIA Tegra114 Dalmore evaluation board"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/tegra124/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if TEGRA124

choice
prompt "Tegra124 board select"
optional

config TARGET_JETSON_TK1
bool "NVIDIA Tegra124 Jetson TK1 board"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/tegra20/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if TEGRA20

choice
prompt "Tegra20 board select"
optional

config TARGET_HARMONY
bool "NVIDIA Tegra20 Harmony evaluation board"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/tegra30/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if TEGRA30

choice
prompt "Tegra30 board select"
optional

config TARGET_APALIS_T30
bool "Toradex Apalis T30 board"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-uniphier/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ config UNIPHIER_SMP

choice
prompt "UniPhier SoC select"
optional

config MACH_PH1_PRO4
bool "PH1-Pro4"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-zynq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if ARCH_ZYNQ

choice
prompt "Xilinx Zynq board select"
optional

config TARGET_ZYNQ_ZED
bool "Zynq ZedBoard"
Expand Down
1 change: 1 addition & 0 deletions arch/avr32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_ARCH

choice
prompt "Target select"
optional

config TARGET_ATNGW100
bool "Support atngw100"
Expand Down
1 change: 1 addition & 0 deletions arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_ARCH

choice
prompt "Target select"
optional

config TARGET_BCT_BRETTL2
bool "Support bct-brettl2"
Expand Down
1 change: 1 addition & 0 deletions arch/m68k/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ config M548x

choice
prompt "Target select"
optional

config TARGET_M52277EVB
bool "Support M52277EVB"
Expand Down
1 change: 1 addition & 0 deletions arch/microblaze/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_ARCH

choice
prompt "Target select"
optional

config TARGET_MICROBLAZE_GENERIC
bool "Support microblaze-generic"
Expand Down
1 change: 1 addition & 0 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ config USE_PRIVATE_LIBGCC

choice
prompt "Target select"
optional

config TARGET_QEMU_MIPS
bool "Support qemu-mips"
Expand Down
1 change: 1 addition & 0 deletions arch/nds32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_ARCH

choice
prompt "Target select"
optional

config TARGET_ADP_AG101
bool "Support adp-ag101"
Expand Down
1 change: 1 addition & 0 deletions arch/nios2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_ARCH

choice
prompt "Target select"
optional

config TARGET_NIOS2_GENERIC
bool "Support nios2-generic"
Expand Down
1 change: 1 addition & 0 deletions arch/openrisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_ARCH

choice
prompt "Target select"
optional

config TARGET_OPENRISC_GENERIC
bool "Support openrisc-generic"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_ARCH

choice
prompt "CPU select"
optional

config MPC512X
bool "MPC512X"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc512x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_CPU

choice
prompt "Target select"
optional

config TARGET_PDM360NG
bool "Support pdm360ng"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc5xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_CPU

choice
prompt "Target select"
optional

config TARGET_CMI_MPC5XX
bool "Support cmi_mpc5xx"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc5xxx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_CPU

choice
prompt "Target select"
optional

config TARGET_A3M071
bool "Support a3m071"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc8260/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_CPU

choice
prompt "Target select"
optional

config TARGET_KM82XX
bool "Support km82xx"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc83xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_CPU

choice
prompt "Target select"
optional

config TARGET_MPC8308_P1M
bool "Support mpc8308_p1m"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc85xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_CPU

choice
prompt "Target select"
optional

config TARGET_SBC8548
bool "Support sbc8548"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc86xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_CPU

choice
prompt "Target select"
optional

config TARGET_SBC8641D
bool "Support sbc8641d"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/mpc8xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_CPU

choice
prompt "Target select"
optional

config TARGET_TQM823L
bool "Support TQM823L"
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/cpu/ppc4xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config SYS_CPU

choice
prompt "Target select"
optional

config TARGET_CSB272
bool "Support csb272"
Expand Down
1 change: 1 addition & 0 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ config SH_32BIT

choice
prompt "Target select"
optional

config TARGET_RSK7203
bool "RSK+ 7203"
Expand Down
1 change: 1 addition & 0 deletions arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ config LEON3

choice
prompt "Board select"
optional

config TARGET_GRSIM_LEON2
bool "GRSIM simulating a LEON2 board"
Expand Down
1 change: 1 addition & 0 deletions board/amcc/canyonlands/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config SYS_CONFIG_NAME

choice BOARD_TYPE
prompt "Select which board to build for"
optional

config CANYONLANDS
bool "Glacier"
Expand Down
1 change: 1 addition & 0 deletions board/coreboot/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ if VENDOR_COREBOOT

choice
prompt "Mainboard model"
optional

config TARGET_COREBOOT
bool "coreboot"
Expand Down
1 change: 1 addition & 0 deletions board/dbau1x00/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ menu "dbau1x00 board options"

choice
prompt "Select au1x00 SoC type"
optional

config DBAU1100
bool "Select AU1100"
Expand Down
Loading

0 comments on commit a26cd04

Please sign in to comment.