summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-05-13 20:12:07 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-05-13 20:12:07 +0000
commit2e7a1d95f7579c206f870b91fb5e7a771d6ad304 (patch)
treefd73cf0d4147ef7f7e70edac6d2ffac8ece86be1
parent9ecc257d2fdf17971f645e042a67aa0bdedb3e01 (diff)
downloadmtk-20170518-2e7a1d95f7579c206f870b91fb5e7a771d6ad304.zip
mtk-20170518-2e7a1d95f7579c206f870b91fb5e7a771d6ad304.tar.gz
mtk-20170518-2e7a1d95f7579c206f870b91fb5e7a771d6ad304.tar.bz2
reorder mtd partitions on the WRT400N
SVN-Revision: 15829
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
index 4040a65..0298b1a 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
@@ -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 */