diff options
author | John Crispin <john@openwrt.org> | 2012-03-25 08:51:13 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-03-25 08:51:13 +0000 |
commit | 0dd64c552d56d1d85e74a4adb54795eae7df0dcd (patch) | |
tree | 0724537dc4861ce64992618b1ce12a3f8b61fe53 /package | |
parent | 2ad89262d0cb24a5bc5a0649f855fca1d69d7f3d (diff) | |
download | mtk-20170518-0dd64c552d56d1d85e74a4adb54795eae7df0dcd.zip mtk-20170518-0dd64c552d56d1d85e74a4adb54795eae7df0dcd.tar.gz mtk-20170518-0dd64c552d56d1d85e74a4adb54795eae7df0dcd.tar.bz2 |
adds ARV4519PW/ARV7519PW
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
SVN-Revision: 31069
Diffstat (limited to 'package')
-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 87f07f3..8909ee9 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 0000000..1fbc361 --- /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 0000000..5d65dbb --- /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 b98e86d..a91ac58 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)) |