AA: ar71xx: restore rb4xx kernel partition size to the original value
authorGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 16:22:55 +0000 (16:22 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 16:22:55 +0000 (16:22 +0000)
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>
SVN-Revision: 34367

target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c

index 1cb8f82407d3afa2bba3b28a4dd32dafe643e5c7..28930fa688bfccdf7b18fd2d12d667daa1b5d4ba 100644 (file)
@@ -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",