fix the size of the flash mem window on pronghorn metro (#2070)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 25 Jul 2007 17:37:16 +0000 (17:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 25 Jul 2007 17:37:16 +0000 (17:37 +0000)
SVN-Revision: 8162

target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch

index b23a04d6cc24c45d4ea5dc0e9ab2c804babeb54a..8b88e106e13eb1713873dc10c161d3a36035b1df 100644 (file)
@@ -217,7 +217,7 @@ diff -Nur linux-2.6.21.1/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.2
 +      ixp4xx_sys_init();
 +
 +      pronghornmetro_flash_resource.start = IXP4XX_EXP_BUS_BASE(0);
-+      pronghornmetro_flash_resource.end = IXP4XX_EXP_BUS_BASE(0) + SZ_32M - 1;
++      pronghornmetro_flash_resource.end = IXP4XX_EXP_BUS_BASE(0) + SZ_16M - 1;
 +
 +      *IXP4XX_EXP_CS0 |= IXP4XX_FLASH_WRITABLE;
 +      *IXP4XX_EXP_CS1 = *IXP4XX_EXP_CS0;