diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-10-13 17:47:20 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-10-13 17:47:20 +0000 |
commit | e5a65db1b53954596a7316a1637a3acd2a0c5554 (patch) | |
tree | 117283bfe904966c0764aaf6683e1815dbcc0269 /target/linux/ar7 | |
parent | 7205421c5b4a6b2b9306e323847eb8022abca72f (diff) | |
download | mtk-20170518-e5a65db1b53954596a7316a1637a3acd2a0c5554.zip mtk-20170518-e5a65db1b53954596a7316a1637a3acd2a0c5554.tar.gz mtk-20170518-e5a65db1b53954596a7316a1637a3acd2a0c5554.tar.bz2 |
increase the flash resource size to its maximum value
CFI detection will reduce the resource size to its real value.
Patch from Daniel Gimpelevich.
SVN-Revision: 33752
Diffstat (limited to 'target/linux/ar7')
-rw-r--r-- | target/linux/ar7/patches-3.3/110-flash.patch | 11 |
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 58ce7ea..80229c1 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 = { |