mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-23 02:18:51 +09:00
![Joe Hershberger](/assets/img/avatar_default.png)
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>
29 lines
455 B
Plaintext
29 lines
455 B
Plaintext
if ARCH_SOCFPGA
|
|
|
|
choice
|
|
prompt "Altera SOCFPGA board select"
|
|
optional
|
|
|
|
config TARGET_SOCFPGA_ARRIA5
|
|
bool "Altera SOCFPGA Arria V"
|
|
|
|
config TARGET_SOCFPGA_CYCLONE5
|
|
bool "Altera SOCFPGA Cyclone V"
|
|
|
|
endchoice
|
|
|
|
config SYS_BOARD
|
|
default "socfpga"
|
|
|
|
config SYS_VENDOR
|
|
default "altera"
|
|
|
|
config SYS_SOC
|
|
default "socfpga"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "socfpga_arria5" if TARGET_SOCFPGA_ARRIA5
|
|
default "socfpga_cyclone5" if TARGET_SOCFPGA_CYCLONE5
|
|
|
|
endif
|