1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 21:37:10 +02:00

[uboot-lantiq] adds ARV4519PW/ARV7519PW

Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31069 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-03-25 08:51:13 +00:00
parent 88bfa13565
commit f92e0b4264
4 changed files with 53 additions and 1 deletions

View File

@ -58,6 +58,9 @@ Package/uboot-lantiq-arv3527P_brnboot=$(call Package/uboot-lantiq-template,arv35
Package/uboot-lantiq-arv4518PW_flash=$(call Package/uboot-lantiq-template,arv4518PW_flash,NOR)
Package/uboot-lantiq-arv4518PW_ramboot=$(call Package/uboot-lantiq-template,arv4518PW_ramboot,RAM)
Package/uboot-lantiq-arv4518PW_brnboot=$(call Package/uboot-lantiq-template,arv4518PW_brnboot,BRN)
Package/uboot-lantiq-arv4519PW_flash=$(call Package/uboot-lantiq-template,arv4519PW_flash,NOR)
Package/uboot-lantiq-arv4519PW_ramboot=$(call Package/uboot-lantiq-template,arv4519PW_ramboot,RAM)
Package/uboot-lantiq-arv4519PW_brnboot=$(call Package/uboot-lantiq-template,arv4519PW_brnboot,BRN)
Package/uboot-lantiq-arv4520PW_flash=$(call Package/uboot-lantiq-template,arv4520PW_flash,NOR)
Package/uboot-lantiq-arv4520PW_ramboot=$(call Package/uboot-lantiq-template,arv4520PW_ramboot,RAM)
Package/uboot-lantiq-arv4520PW_brnboot=$(call Package/uboot-lantiq-template,arv4520PW_brnboot,BRN)
@ -76,15 +79,20 @@ Package/uboot-lantiq-arv752DPW_brnboot=$(call Package/uboot-lantiq-template,arv7
Package/uboot-lantiq-arv752DPW22_flash=$(call Package/uboot-lantiq-template,arv752DPW22_flash,NOR)
Package/uboot-lantiq-arv752DPW22_ramboot=$(call Package/uboot-lantiq-template,arv752DPW22_ramboot,RAM)
Package/uboot-lantiq-arv752DPW22_brnboot=$(call Package/uboot-lantiq-template,arv752DPW22_brnboot,BRN)
Package/uboot-lantiq-arv7518PW_flash=$(call Package/uboot-lantiq-template,arv7518PW_flash,NOR)
Package/uboot-lantiq-arv7518PW_ramboot=$(call Package/uboot-lantiq-template,arv7518PW_ramboot,RAM)
Package/uboot-lantiq-arv7518PW_brnboot=$(call Package/uboot-lantiq-template,arv7518PW_brnboot,BRN)
DDR_CONFIG_arv3527P_ramboot:=arcadyan_psc166_32
DDR_CONFIG_arv4518PW_ramboot:=arcadyan_psc166_64
DDR_CONFIG_arv4519PW_ramboot:=arcadyan_psc166_32
DDR_CONFIG_arv4520PW_ramboot:=arcadyan_psc166_32
DDR_CONFIG_arv4525PW_ramboot:=arcadyan_psc166_32
DDR_CONFIG_arv7525PW_ramboot:=arcadyan_psc166_32
DDR_CONFIG_arv452CPW_ramboot:=arcadyan_psc166_32
DDR_CONFIG_arv752DPW_ramboot:=arcadyan_psc166_64
DDR_CONFIG_arv752DPW22_ramboot:=arcadyan_psc166_64
DDR_CONFIG_arv7518PW_ramboot:=arcadyan_psc166_64
define Build/Prepare
$(PKG_UNPACK)
@ -155,6 +163,9 @@ $(eval $(call BuildPackage,uboot-lantiq-gigaSX76X_DDRsamsung166_ramboot))
$(eval $(call BuildPackage,uboot-lantiq-arv4518PW_flash))
$(eval $(call BuildPackage,uboot-lantiq-arv4518PW_brnboot))
$(eval $(call BuildPackage,uboot-lantiq-arv4518PW_ramboot))
$(eval $(call BuildPackage,uboot-lantiq-arv4519PW_flash))
$(eval $(call BuildPackage,uboot-lantiq-arv4519PW_brnboot))
$(eval $(call BuildPackage,uboot-lantiq-arv4519PW_ramboot))
$(eval $(call BuildPackage,uboot-lantiq-arv4520PW_flash))
$(eval $(call BuildPackage,uboot-lantiq-arv4520PW_brnboot))
$(eval $(call BuildPackage,uboot-lantiq-arv4520PW_ramboot))
@ -173,4 +184,7 @@ $(eval $(call BuildPackage,uboot-lantiq-arv752DPW_ramboot))
$(eval $(call BuildPackage,uboot-lantiq-arv752DPW22_flash))
$(eval $(call BuildPackage,uboot-lantiq-arv752DPW22_brnboot))
$(eval $(call BuildPackage,uboot-lantiq-arv752DPW22_ramboot))
$(eval $(call BuildPackage,uboot-lantiq-arv7518PW_flash))
$(eval $(call BuildPackage,uboot-lantiq-arv7518PW_brnboot))
$(eval $(call BuildPackage,uboot-lantiq-arv7518PW_ramboot))

View File

@ -0,0 +1,21 @@
#ifndef __CONFIG_H_4519
#define __CONFIG_H_4519
#define CONFIG_ARV4519 1
#define CONFIG_ARCADYAN "ARV4519PW"
#define CONFIG_SYS_MAX_RAM 32*1024*1024
#define CONFIG_USE_DDR_PSC_32 1
#define CONFIG_SYS_PROMPT "ARV4519 => "
#define CONFIG_AR8216_SWITCH 1
#define CONFIG_EBU_GPIO 0
#define CONFIG_SWITCH_PORT0
#define CONFIG_SWITCH_PIN 13
#define CONFIG_BUTTON_PORT1
#define CONFIG_BUTTON_PIN 12
#define CONFIG_BUTTON_LEVEL 0
#include "arcadyan-common.h"
#endif

View File

@ -0,0 +1,16 @@
#ifndef __CONFIG_H_7518
#define __CONFIG_H_7518
#define CONFIG_ARV7518 1
#define CONFIG_ARCADYAN "ARV7518PW"
#define CONFIG_SYS_MAX_RAM 64*1024*1024
#define CONFIG_USE_DDR_PSC_64 1
#define CONFIG_SYS_PROMPT "ARV7518 => "
//#define CONFIG_RMII 1
#define CONFIG_AR8216_SWITCH 1
#include "arcadyan-common.h"
#endif

View File

@ -39,7 +39,7 @@
SRCS := $(COBJS:.o=.c)
--- a/Makefile
+++ b/Makefile
@@ -3414,6 +3414,41 @@
@@ -3414,6 +3414,42 @@
## MIPS32 ifxcpe
#########################################################################
@ -73,6 +73,7 @@
+$(eval $(call arcadyan, arv4525PW%config))
+$(eval $(call arcadyan, arv4510PW%config))
+$(eval $(call arcadyan, arv4518PW%config))
+$(eval $(call arcadyan, arv4519PW%config))
+$(eval $(call arcadyan, arv7518PW%config))
+$(eval $(call arcadyan, arv7525PW%config))
+$(eval $(call arcadyan, arv752DPW%config))