adds ARV4519PW/ARV7519PW
authorJohn Crispin <john@openwrt.org>
Sun, 25 Mar 2012 08:51:13 +0000 (08:51 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 25 Mar 2012 08:51:13 +0000 (08:51 +0000)
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
SVN-Revision: 31069

package/uboot-lantiq/Makefile
package/uboot-lantiq/files/include/configs/arv4519PW.h [new file with mode: 0644]
package/uboot-lantiq/files/include/configs/arv7518PW.h [new file with mode: 0644]
package/uboot-lantiq/patches/300-arcadyan.patch

index 87f07f3..8909ee9 100644 (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))
 
diff --git a/package/uboot-lantiq/files/include/configs/arv4519PW.h b/package/uboot-lantiq/files/include/configs/arv4519PW.h
new file mode 100644 (file)
index 0000000..1fbc361
--- /dev/null
@@ -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 (file)
index 0000000..5d65dbb
--- /dev/null
@@ -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
index b98e86d..a91ac58 100644 (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))