TITLE:=U-Boot $(PKG_VERSION) for Avnet Digilent ZedBoard Dev Board
endef
+define uboot/zybo
+ TITLE:=U-Boot $(PKG_VERSION) for Digilent Zybo Dev Board
+endef
+
UBOOTS := \
zc702 \
zed \
+ zybo \
define Package/uboot/template
define Package/uboot-zynq-$(1)
board_config_update
case "$(cat /tmp/sysinfo/board_name)" in
- xlnx,zynq-zc702|xlnx,zynq-zed)
+ xlnx,zynq-zc702|xlnx,zynq-zed|xlnx,zynq-zybo)
ucidef_set_interface_lan 'eth0'
;;
esac
$(call Device/DefaultConfig,zed)
endef
+define Device/ZYBO
+ $(call Device/DefaultConfig,zybo)
+endef
+
define Image/BuildKernel
$(eval $(call Device/$(PROFILE)))
$(call Image/boot-imgs)
--- /dev/null
+#
+# Copyright (C) 2016 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/ZYBO
+ NAME:=ZYBO development baord
+endef
+
+define Profile/ZYBO/Description
+ Build firmware image for Digilent ZYBO development board.
+endef
+
+$(eval $(call Profile,ZYBO))