Revert "ar71xx: wrt400n: lift size limit on kernel and rootfs part"
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-wrt400n.c
index 64126f4..6c4c1cb 100644 (file)
@@ -48,9 +48,13 @@ static struct mtd_partition wrt400n_partitions[] = {
                .size           = 0x010000,
                .mask_flags     = MTD_WRITEABLE,
        }, {
-               .name           = "firmware",
+               .name           = "linux",
                .offset         = 0x040000,
-               .size           = 0x770000,
+               .size           = 0x140000,
+       }, {
+               .name           = "rootfs",
+               .offset         = 0x180000,
+               .size           = 0x630000,
        }, {
                .name           = "nvram",
                .offset         = 0x7b0000,
@@ -71,6 +75,10 @@ static struct mtd_partition wrt400n_partitions[] = {
                .offset         = 0x7f0000,
                .size           = 0x010000,
                .mask_flags     = MTD_WRITEABLE,
+       }, {
+               .name           = "firmware",
+               .offset         = 0x040000,
+               .size           = 0x770000,
        }
 };