mirror of https://github.com/hak5/openwrt-owl.git
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: 33752owl
parent
7205421c5b
commit
e5a65db1b5
|
@ -20,3 +20,14 @@
|
||||||
obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o
|
obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o
|
||||||
obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.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 = {
|
||||||
|
|
Loading…
Reference in New Issue