aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-11-25 16:22:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-11-25 16:22:55 +0000
commitf7865900244274e1b49ff3c119b47979bea089dd (patch)
tree1d819a7c4d3adeee67ccf45b368fa13bb80a87e6
parente14da083c865ee5c2507e3c9745133c6c743c39a (diff)
downloadupstream-f7865900244274e1b49ff3c119b47979bea089dd.tar.gz
upstream-f7865900244274e1b49ff3c119b47979bea089dd.tar.bz2
upstream-f7865900244274e1b49ff3c119b47979bea089dd.zip
AA: ar71xx: restore rb4xx kernel partition size to the original value
Backport of r34274. The new lzma compressed elf kernel image fits into that, even on devices with large page NAND chips. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34367 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
index 1cb8f82407..28930fa688 100644
--- a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
+++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
@@ -62,7 +62,7 @@ static struct mtd_partition rb4xx_nand_partitions[] = {
{
.name = "kernel",
.offset = (256 * 1024),
- .size = (6 * 1024 * 1024) - (256 * 1024),
+ .size = (4 * 1024 * 1024) - (256 * 1024),
},
{
.name = "rootfs",