diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-25 17:37:16 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-25 17:37:16 +0000 |
commit | c3e54ffcc1288823e6833a8c66beaf606619147b (patch) | |
tree | 2ca6ae47f8a03d78ec5e988fdaf84b4696c408e6 /target/linux/ixp4xx-2.6/patches | |
parent | 8ce9e8a9b1b459629d4439e2014d1bb8da64cce7 (diff) |
fix the size of the flash mem window on pronghorn metro (#2070)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8162 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx-2.6/patches')
-rw-r--r-- | target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch b/target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch index b23a04d6cc..8b88e106e1 100644 --- a/target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch +++ b/target/linux/ixp4xx-2.6/patches/400-pronghorn_metro.patch @@ -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; |