aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-11-20 12:17:45 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-11-20 12:17:45 +0000
commitec210ee9577ba9509648f52a3789ef9a9a048ebc (patch)
tree0d77c2f83538b5b80d03c3ce5cc22b533328e1ff /target/linux/ar71xx
parent5da0e05c2efa869fff1cae83ddb067967a76661f (diff)
downloadupstream-ec210ee9577ba9509648f52a3789ef9a9a048ebc.tar.gz
upstream-ec210ee9577ba9509648f52a3789ef9a9a048ebc.tar.bz2
upstream-ec210ee9577ba9509648f52a3789ef9a9a048ebc.zip
ar71xx: restore rb4xx kernel partition size to the original value
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/trunk@34274 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-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 3255043133..a007484b2e 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",