mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-10 23:03:29 +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>
45 lines
776 B
Plaintext
45 lines
776 B
Plaintext
if ARCH_ZYNQ
|
|
|
|
choice
|
|
prompt "Xilinx Zynq board select"
|
|
optional
|
|
|
|
config TARGET_ZYNQ_ZED
|
|
bool "Zynq ZedBoard"
|
|
|
|
config TARGET_ZYNQ_MICROZED
|
|
bool "Zynq MicroZed"
|
|
|
|
config TARGET_ZYNQ_PICOZED
|
|
bool "Zynq PicoZed"
|
|
|
|
config TARGET_ZYNQ_ZC70X
|
|
bool "Zynq ZC702/ZC706 Board"
|
|
|
|
config TARGET_ZYNQ_ZC770
|
|
bool "Zynq ZC770 Board"
|
|
|
|
config TARGET_ZYNQ_ZYBO
|
|
bool "Zynq Zybo Board"
|
|
|
|
endchoice
|
|
|
|
config SYS_BOARD
|
|
default "zynq"
|
|
|
|
config SYS_VENDOR
|
|
default "xilinx"
|
|
|
|
config SYS_SOC
|
|
default "zynq"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "zynq_zed" if TARGET_ZYNQ_ZED
|
|
default "zynq_microzed" if TARGET_ZYNQ_MICROZED
|
|
default "zynq_picozed" if TARGET_ZYNQ_PICOZED
|
|
default "zynq_zc70x" if TARGET_ZYNQ_ZC70X
|
|
default "zynq_zc770" if TARGET_ZYNQ_ZC770
|
|
default "zynq_zybo" if TARGET_ZYNQ_ZYBO
|
|
|
|
endif
|