aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-05-14 08:37:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-05-14 08:37:58 +0000
commit0eea4b85a2a451f6c355ae757fef708776827e9e (patch)
tree3cd5d8d61b5e47e184dd3bdd97d4a0299385323d /target/linux/ar71xx/files
parent6b9035b1659df04d2f2303e8c5273ee0b390d771 (diff)
downloadupstream-0eea4b85a2a451f6c355ae757fef708776827e9e.tar.gz
upstream-0eea4b85a2a451f6c355ae757fef708776827e9e.tar.bz2
upstream-0eea4b85a2a451f6c355ae757fef708776827e9e.zip
ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions. Signed-off-by: Michael Kurz <michi.kurz@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21443 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
index 0b7116f1d6..602a9f022d 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
@@ -54,25 +54,32 @@ static struct mtd_partition nbg460n_partitions[] = {
.name = "Bootbase",
.offset = 0,
.size = 0x010000,
+ .mask_flags = MTD_WRITEABLE,
} , {
.name = "U-Boot Config",
.offset = 0x010000,
.size = 0x030000,
- .mask_flags = MTD_WRITEABLE,
} , {
.name = "U-Boot",
.offset = 0x040000,
.size = 0x030000,
- .mask_flags = MTD_WRITEABLE,
} , {
- .name = "firmware",
+ .name = "linux",
.offset = 0x070000,
- .size = 0x380000,
- .mask_flags = MTD_WRITEABLE,
+ .size = 0x0e0000,
+ } , {
+ .name = "rootfs",
+ .offset = 0x150000,
+ .size = 0x2a0000,
} , {
.name = "CalibData",
.offset = 0x3f0000,
.size = 0x010000,
+ .mask_flags = MTD_WRITEABLE,
+ } , {
+ .name = "firmware",
+ .offset = 0x070000,
+ .size = 0x380000,
}
};
#endif /* CONFIG_MTD_PARTITIONS */