From: John Crispin Date: Sun, 25 Mar 2012 08:51:13 +0000 (+0000) Subject: adds ARV4519PW/ARV7519PW X-Git-Tag: v19.07.0-rc1~25089 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0dd64c552d56d1d85e74a4adb54795eae7df0dcd;p=openwrt%2Fstaging%2Fhauke.git adds ARV4519PW/ARV7519PW Signed-off-by: Andrej Vlašić SVN-Revision: 31069 --- diff --git a/package/uboot-lantiq/Makefile b/package/uboot-lantiq/Makefile index 87f07f37b8..8909ee981e 100644 --- a/package/uboot-lantiq/Makefile +++ b/package/uboot-lantiq/Makefile @@ -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)) diff --git a/package/uboot-lantiq/files/include/configs/arv4519PW.h b/package/uboot-lantiq/files/include/configs/arv4519PW.h new file mode 100644 index 0000000000..1fbc361dc1 --- /dev/null +++ b/package/uboot-lantiq/files/include/configs/arv4519PW.h @@ -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 diff --git a/package/uboot-lantiq/files/include/configs/arv7518PW.h b/package/uboot-lantiq/files/include/configs/arv7518PW.h new file mode 100644 index 0000000000..5d65dbbf9a --- /dev/null +++ b/package/uboot-lantiq/files/include/configs/arv7518PW.h @@ -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 diff --git a/package/uboot-lantiq/patches/300-arcadyan.patch b/package/uboot-lantiq/patches/300-arcadyan.patch index b98e86dc60..a91ac589f9 100644 --- a/package/uboot-lantiq/patches/300-arcadyan.patch +++ b/package/uboot-lantiq/patches/300-arcadyan.patch @@ -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))