aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-10-13 17:47:20 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-10-13 17:47:20 +0000
commitf583005b1d5205b7f5f88dca3c5c327b034cfd4f (patch)
tree012f775e93c8e66e9c7ba96ec18f71b3bb44f435 /target/linux
parent10b7a94f548f80bcc08fa304027979bdac6aaa98 (diff)
downloadupstream-f583005b1d5205b7f5f88dca3c5c327b034cfd4f.tar.gz
upstream-f583005b1d5205b7f5f88dca3c5c327b034cfd4f.tar.bz2
upstream-f583005b1d5205b7f5f88dca3c5c327b034cfd4f.zip
[ar7] increase the flash resource size to its maximum value
CFI detection will reduce the resource size to its real value. Patch from Daniel Gimpelevich. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33752 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar7/patches-3.3/110-flash.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar7/patches-3.3/110-flash.patch b/target/linux/ar7/patches-3.3/110-flash.patch
index 58ce7eaa40..80229c104f 100644
--- a/target/linux/ar7/patches-3.3/110-flash.patch
+++ b/target/linux/ar7/patches-3.3/110-flash.patch
@@ -20,3 +20,14 @@
obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o
obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
+--- a/arch/mips/ar7/platform.c
++++ b/arch/mips/ar7/platform.c
+@@ -199,7 +199,7 @@ static struct resource physmap_flash_res
+ .name = "mem",
+ .flags = IORESOURCE_MEM,
+ .start = 0x10000000,
+- .end = 0x107fffff,
++ .end = 0x11ffffff,
+ };
+
+ static struct physmap_flash_data physmap_flash_data = {