summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-26 11:44:29 +0000
committerJohn Crispin <john@openwrt.org>2016-04-26 11:44:29 +0000
commitbe1985471e009ac069a61c8e6680067058a6cb82 (patch)
tree737fa7825864a8b34ce3af560afae47428ed5e76 /target
parent869d3adc379aac12b8933d1f3072a809dcf748c5 (diff)
downloadmtk-20170518-be1985471e009ac069a61c8e6680067058a6cb82.zip
mtk-20170518-be1985471e009ac069a61c8e6680067058a6cb82.tar.gz
mtk-20170518-be1985471e009ac069a61c8e6680067058a6cb82.tar.bz2
zynq: Add Zybo device support
Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> SVN-Revision: 49257
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/zynq/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/zynq/image/Makefile4
-rw-r--r--target/linux/zynq/profiles/zybo.mk16
3 files changed, 21 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 35667c0..9659673 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-zed)
+ xlnx,zynq-zc702|xlnx,zynq-zed|xlnx,zynq-zybo)
ucidef_set_interface_lan 'eth0'
;;
esac
diff --git a/target/linux/zynq/image/Makefile b/target/linux/zynq/image/Makefile
index 87975be..d803c33 100644
--- a/target/linux/zynq/image/Makefile
+++ b/target/linux/zynq/image/Makefile
@@ -74,6 +74,10 @@ define Device/ZED
$(call Device/DefaultConfig,zed)
endef
+define Device/ZYBO
+ $(call Device/DefaultConfig,zybo)
+endef
+
define Image/BuildKernel
$(eval $(call Device/$(PROFILE)))
$(call Image/boot-imgs)
diff --git a/target/linux/zynq/profiles/zybo.mk b/target/linux/zynq/profiles/zybo.mk
new file mode 100644
index 0000000..dfe7e67
--- /dev/null
+++ b/target/linux/zynq/profiles/zybo.mk
@@ -0,0 +1,16 @@
+#
+# 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))