From c774fc8565d59aa11f6de5a6f1e41abb536a9e2d Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 25 Nov 2012 16:22:55 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34367 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') 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 1cb8f8240..28930fa68 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", -- cgit v1.2.3