From 24ef2c55861b889503decd6a45d281c0184d0eea Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 26 Apr 2016 11:44:26 +0000 Subject: Zynq: Add Zedboard device support Tested-by: Joe Zhang Signed-off-by: Jason Wu git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49256 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/zynq/base-files/etc/board.d/02_network | 2 +- target/linux/zynq/image/Makefile | 3 +++ target/linux/zynq/profiles/zed.mk | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 target/linux/zynq/profiles/zed.mk (limited to 'target/linux/zynq') diff --git a/target/linux/zynq/base-files/etc/board.d/02_network b/target/linux/zynq/base-files/etc/board.d/02_network index 71d6fd8aa2..35667c0610 100755 --- a/target/linux/zynq/base-files/etc/board.d/02_network +++ b/target/linux/zynq/base-files/etc/board.d/02_network @@ -6,7 +6,7 @@ board_config_update case "$(cat /tmp/sysinfo/board_name)" in - xlnx,zynq-zc702) + xlnx,zynq-zc702|xlnx,zynq-zed) ucidef_set_interface_lan 'eth0' ;; esac diff --git a/target/linux/zynq/image/Makefile b/target/linux/zynq/image/Makefile index 99293a6aad..87975be6a0 100644 --- a/target/linux/zynq/image/Makefile +++ b/target/linux/zynq/image/Makefile @@ -70,6 +70,9 @@ define Device/ZC702 $(call Device/DefaultConfig,zc702) endef +define Device/ZED + $(call Device/DefaultConfig,zed) +endef define Image/BuildKernel $(eval $(call Device/$(PROFILE))) diff --git a/target/linux/zynq/profiles/zed.mk b/target/linux/zynq/profiles/zed.mk new file mode 100644 index 0000000000..d8ff08b02f --- /dev/null +++ b/target/linux/zynq/profiles/zed.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/ZED + NAME:=ZedBoard development baord +endef + +define Profile/ZED/Description + Build firmware image for Avnet Digilent ZedBoard development board. +endef + +$(eval $(call Profile,ZED)) -- cgit v1.2.3