aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commitd833ca527d16b07dfd9193bdfd4e65a34d406315 (patch)
tree15dffb6257b5c52514b822ae3da1ec7037b44be7 /target
parent33a99ce46b814386126769cff92ea0ecb9630112 (diff)
downloadupstream-d833ca527d16b07dfd9193bdfd4e65a34d406315.tar.gz
upstream-d833ca527d16b07dfd9193bdfd4e65a34d406315.tar.bz2
upstream-d833ca527d16b07dfd9193bdfd4e65a34d406315.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> SVN-Revision: 34274
Diffstat (limited to 'target')
-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",