aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/zynq
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-26 11:44:26 +0000
committerJohn Crispin <john@openwrt.org>2016-04-26 11:44:26 +0000
commit869d3adc379aac12b8933d1f3072a809dcf748c5 (patch)
tree96b496c2920c12743b5c4426cd8e5bb4d5e0b1bd /target/linux/zynq
parentb37ea8c77639b13898b112dfd24cd16b4434902e (diff)
downloadupstream-869d3adc379aac12b8933d1f3072a809dcf748c5.tar.gz
upstream-869d3adc379aac12b8933d1f3072a809dcf748c5.tar.bz2
upstream-869d3adc379aac12b8933d1f3072a809dcf748c5.zip
Zynq: Add Zedboard device support
Tested-by: Joe Zhang <jz21082@gmail.com> Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> SVN-Revision: 49256
Diffstat (limited to 'target/linux/zynq')
-rwxr-xr-xtarget/linux/zynq/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/zynq/image/Makefile3
-rw-r--r--target/linux/zynq/profiles/zed.mk16
3 files changed, 20 insertions, 1 deletions
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))