diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-25 08:51:13 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-25 08:51:13 +0000 |
commit | f92e0b42648fcce8061503cf84e95ecdbf6af1d1 (patch) | |
tree | c39fa5917639600c0168f3e82f53a67c1711e475 | |
parent | 88bfa13565bd8ecbbd2cddc0d317855d6b8d6c72 (diff) |
[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
-rw-r--r-- | package/uboot-lantiq/Makefile | 14 | ||||
-rw-r--r-- | package/uboot-lantiq/files/include/configs/arv4519PW.h | 21 | ||||
-rw-r--r-- | package/uboot-lantiq/files/include/configs/arv7518PW.h | 16 | ||||
-rw-r--r-- | package/uboot-lantiq/patches/300-arcadyan.patch | 3 |
4 files changed, 53 insertions, 1 deletions
diff --git a/package/uboot-lantiq/Makefile b/package/uboot-lantiq/Makefile index 87f07f37b..8909ee981 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 000000000..1fbc361dc --- /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 000000000..5d65dbbf9 --- /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 b98e86dc6..a91ac589f 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)) |