mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
a26cd04920
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 <joe.hershberger@ni.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Cc: Tom Rini <trini@konsulko.com>
35 lines
527 B
Text
35 lines
527 B
Text
menu "Broadcom BCM283X family"
|
|
depends on ARCH_BCM283X
|
|
|
|
choice
|
|
prompt "Broadcom BCM283X board select"
|
|
optional
|
|
|
|
config TARGET_RPI
|
|
bool "Raspberry Pi"
|
|
select CPU_ARM1176
|
|
|
|
config TARGET_RPI_2
|
|
bool "Raspberry Pi 2"
|
|
select CPU_V7
|
|
|
|
endchoice
|
|
|
|
config PHYS_TO_BUS
|
|
default y
|
|
|
|
config SYS_BOARD
|
|
default "rpi" if TARGET_RPI
|
|
default "rpi_2" if TARGET_RPI_2
|
|
|
|
config SYS_VENDOR
|
|
default "raspberrypi"
|
|
|
|
config SYS_SOC
|
|
default "bcm283x"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "rpi" if TARGET_RPI
|
|
default "rpi_2" if TARGET_RPI_2
|
|
|
|
endmenu
|