uboot-zynq: automatically select the appropriate variant

Select the U-Boot variant automatically based on the
current selected device, and hide the package from
menuconfig

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
This commit is contained in:
Luis Araneda 2018-09-03 22:39:57 -03:00 committed by John Crispin
parent 5d2b702590
commit e62df3dd8b

View file

@ -20,22 +20,27 @@ define U-Boot/Default
BUILD_TARGET:=zynq BUILD_TARGET:=zynq
UBOOT_IMAGE:=spl/boot.bin u-boot.img UBOOT_IMAGE:=spl/boot.bin u-boot.img
UBOOT_CONFIG:=zynq_$(1) UBOOT_CONFIG:=zynq_$(1)
HIDDEN:=1
endef endef
define U-Boot/zc702 define U-Boot/zc702
NAME:=Xilinx ZC702 Dev Board NAME:=Xilinx ZC702 Dev Board
BUILD_DEVICES:=xlnx_zynq-zc702
endef endef
define U-Boot/zed define U-Boot/zed
NAME:=Avnet Digilent ZedBoard Dev Board NAME:=Avnet Digilent ZedBoard Dev Board
BUILD_DEVICES:=avnet_zynq-zed
endef endef
define U-Boot/zybo define U-Boot/zybo
NAME:=Digilent Zybo Dev Board NAME:=Digilent Zybo Dev Board
BUILD_DEVICES:=digilent_zynq-zybo
endef endef
define U-Boot/zybo_z7 define U-Boot/zybo_z7
NAME:=Digilent Zybo Z7 board NAME:=Digilent Zybo Z7 board
BUILD_DEVICES:=digilent_zynq-zybo-z7
endef endef
UBOOT_TARGETS := \ UBOOT_TARGETS := \