[ar71xx] reorder mtd partitions on the WRT400N
authorGabor Juhos <juhosg@openwrt.org>
Wed, 13 May 2009 20:12:07 +0000 (20:12 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 13 May 2009 20:12:07 +0000 (20:12 +0000)
SVN-Revision: 15829

target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c

index 4040a65..0298b1a 100644 (file)
@@ -46,10 +46,6 @@ static struct mtd_partition wrt400n_partitions[] = {
        } , {
                .name           = "linux",
                .offset         = 0x040000,
-               .size           = 0x770000,
-       } , {
-               .name           = "kernel",
-               .offset         = 0x040000,
                .size           = 0x140000,
        } , {
                .name           = "rootfs",
@@ -75,6 +71,10 @@ static struct mtd_partition wrt400n_partitions[] = {
                .offset         = 0x7f0000,
                .size           = 0x010000,
                .mask_flags     = MTD_WRITEABLE,
+       } , {
+               .name           = "firmware",
+               .offset         = 0x040000,
+               .size           = 0x770000,
        }
 };
 #endif /* CONFIG_MTD_PARTITIONS */