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
This commit is contained in:
		@@ -37,8 +37,13 @@ define uboot/zc706
 | 
				
			|||||||
	TITLE:=U-Boot $(PKG_VERSION) for Xilinx ZC706 Dev Board
 | 
						TITLE:=U-Boot $(PKG_VERSION) for Xilinx ZC706 Dev Board
 | 
				
			||||||
endef
 | 
					endef
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					define uboot/zed
 | 
				
			||||||
 | 
						TITLE:=U-Boot $(PKG_VERSION) for Avnet Digilent ZedBoard Dev Board
 | 
				
			||||||
 | 
					endef
 | 
				
			||||||
 | 
					
 | 
				
			||||||
UBOOTS := \
 | 
					UBOOTS := \
 | 
				
			||||||
	zc702 \
 | 
						zc702 \
 | 
				
			||||||
 | 
						zed \
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define Package/uboot/template
 | 
					define Package/uboot/template
 | 
				
			||||||
define Package/uboot-zynq-$(1)
 | 
					define Package/uboot-zynq-$(1)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@
 | 
				
			|||||||
board_config_update
 | 
					board_config_update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
case "$(cat /tmp/sysinfo/board_name)" in
 | 
					case "$(cat /tmp/sysinfo/board_name)" in
 | 
				
			||||||
	xlnx,zynq-zc702)
 | 
						xlnx,zynq-zc702|xlnx,zynq-zed)
 | 
				
			||||||
		ucidef_set_interface_lan 'eth0'
 | 
							ucidef_set_interface_lan 'eth0'
 | 
				
			||||||
		;;
 | 
							;;
 | 
				
			||||||
esac
 | 
					esac
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -70,6 +70,9 @@ define Device/ZC702
 | 
				
			|||||||
	$(call Device/DefaultConfig,zc702)
 | 
						$(call Device/DefaultConfig,zc702)
 | 
				
			||||||
endef
 | 
					endef
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					define Device/ZED
 | 
				
			||||||
 | 
						$(call Device/DefaultConfig,zed)
 | 
				
			||||||
 | 
					endef
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define Image/BuildKernel
 | 
					define Image/BuildKernel
 | 
				
			||||||
	$(eval $(call Device/$(PROFILE)))
 | 
						$(eval $(call Device/$(PROFILE)))
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										16
									
								
								target/linux/zynq/profiles/zed.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								target/linux/zynq/profiles/zed.mk
									
									
									
									
									
										Normal file
									
								
							@@ -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))
 | 
				
			||||||
		Reference in New Issue
	
	Block a user