mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-03-31 18:37:28 +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:
parent
fcb2538f2b
commit
f45adad4a0
@ -11,7 +11,7 @@
|
|||||||
CONFIG_MACH_IXDP465=y
|
CONFIG_MACH_IXDP465=y
|
||||||
--- a/arch/arm/mach-ixp4xx/Kconfig
|
--- a/arch/arm/mach-ixp4xx/Kconfig
|
||||||
+++ b/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
|
WG302 v2 or WAG302 v2 Access Points. For more information
|
||||||
on this platform, see http://openwrt.org
|
on this platform, see http://openwrt.org
|
||||||
|
|
||||||
@ -29,9 +29,7 @@
|
|||||||
+# CF slot connected to the expansion bus, so we just enable them together.
|
+# CF slot connected to the expansion bus, so we just enable them together.
|
||||||
+#
|
+#
|
||||||
+config MACH_PRONGHORNMETRO
|
+config MACH_PRONGHORNMETRO
|
||||||
+ bool
|
+ def_bool MACH_PRONGHORN
|
||||||
+ depends on MACH_PRONGHORN
|
|
||||||
+ default y
|
|
||||||
+
|
+
|
||||||
config ARCH_IXDP425
|
config ARCH_IXDP425
|
||||||
bool "IXDP425"
|
bool "IXDP425"
|
||||||
@ -322,7 +320,7 @@
|
|||||||
+ ixp4xx_sys_init();
|
+ ixp4xx_sys_init();
|
||||||
+
|
+
|
||||||
+ pronghorn_flash_resource.start = IXP4XX_EXP_BUS_BASE(0);
|
+ 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_CS0 |= IXP4XX_FLASH_WRITABLE;
|
||||||
+ *IXP4XX_EXP_CS1 = *IXP4XX_EXP_CS0;
|
+ *IXP4XX_EXP_CS1 = *IXP4XX_EXP_CS0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user