ar71xx: restore rb4xx kernel partition size to the original value
[librecmc/librecmc.git] / target / linux / ar71xx / files / drivers / mtd / nand / rb4xx_nand.c
index 1cb8f82407d3afa2bba3b28a4dd32dafe643e5c7..a007484b2e76c83c9b96c4be7f7b723d626e9c8d 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",
@@ -221,7 +221,6 @@ static int __devinit rb4xx_nand_probe(struct platform_device *pdev)
 
        info->chip.chip_delay   = 25;
        info->chip.ecc.mode     = NAND_ECC_SOFT;
-       info->chip.options      |= NAND_NO_AUTOINCR;
 
        platform_set_drvdata(pdev, info);