1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-05 23:44:11 +03:00

update pronghorn patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11666 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kaloz 2008-07-05 16:49:08 +00:00
parent fcb2538f2b
commit f45adad4a0

View File

@ -11,7 +11,7 @@
CONFIG_MACH_IXDP465=y
--- a/arch/arm/mach-ixp4xx/Kconfig
+++ b/arch/arm/mach-ixp4xx/Kconfig
@@ -65,6 +65,24 @@
@@ -65,6 +65,22 @@
WG302 v2 or WAG302 v2 Access Points. For more information
on this platform, see http://openwrt.org
@ -29,9 +29,7 @@
+# CF slot connected to the expansion bus, so we just enable them together.
+#
+config MACH_PRONGHORNMETRO
+ bool
+ depends on MACH_PRONGHORN
+ default y
+ def_bool MACH_PRONGHORN
+
config ARCH_IXDP425
bool "IXDP425"
@ -322,7 +320,7 @@
+ ixp4xx_sys_init();
+
+ pronghorn_flash_resource.start = IXP4XX_EXP_BUS_BASE(0);
+ pronghorn_flash_resource.end = IXP4XX_EXP_BUS_BASE(0) + SZ_16M - 1;
+ pronghorn_flash_resource.end = IXP4XX_EXP_BUS_BASE(0) + SZ_32M - 1;
+
+ *IXP4XX_EXP_CS0 |= IXP4XX_FLASH_WRITABLE;
+ *IXP4XX_EXP_CS1 = *IXP4XX_EXP_CS0;