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 4040a652da7b5820357fd8cc82f0f47399e56b98..0298b1a6bf5fe35d0fc93a541fa28c84709eccd1 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 */