mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-11 22:40:15 +02:00
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
This commit is contained in:
parent
2bb2528b88
commit
0b2a2f1091
@ -54,25 +54,32 @@ static struct mtd_partition nbg460n_partitions[] = {
|
|||||||
.name = "Bootbase",
|
.name = "Bootbase",
|
||||||
.offset = 0,
|
.offset = 0,
|
||||||
.size = 0x010000,
|
.size = 0x010000,
|
||||||
|
.mask_flags = MTD_WRITEABLE,
|
||||||
} , {
|
} , {
|
||||||
.name = "U-Boot Config",
|
.name = "U-Boot Config",
|
||||||
.offset = 0x010000,
|
.offset = 0x010000,
|
||||||
.size = 0x030000,
|
.size = 0x030000,
|
||||||
.mask_flags = MTD_WRITEABLE,
|
|
||||||
} , {
|
} , {
|
||||||
.name = "U-Boot",
|
.name = "U-Boot",
|
||||||
.offset = 0x040000,
|
.offset = 0x040000,
|
||||||
.size = 0x030000,
|
.size = 0x030000,
|
||||||
|
} , {
|
||||||
|
.name = "linux",
|
||||||
|
.offset = 0x070000,
|
||||||
|
.size = 0x0e0000,
|
||||||
|
} , {
|
||||||
|
.name = "rootfs",
|
||||||
|
.offset = 0x150000,
|
||||||
|
.size = 0x2a0000,
|
||||||
|
} , {
|
||||||
|
.name = "CalibData",
|
||||||
|
.offset = 0x3f0000,
|
||||||
|
.size = 0x010000,
|
||||||
.mask_flags = MTD_WRITEABLE,
|
.mask_flags = MTD_WRITEABLE,
|
||||||
} , {
|
} , {
|
||||||
.name = "firmware",
|
.name = "firmware",
|
||||||
.offset = 0x070000,
|
.offset = 0x070000,
|
||||||
.size = 0x380000,
|
.size = 0x380000,
|
||||||
.mask_flags = MTD_WRITEABLE,
|
|
||||||
} , {
|
|
||||||
.name = "CalibData",
|
|
||||||
.offset = 0x3f0000,
|
|
||||||
.size = 0x010000,
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_MTD_PARTITIONS */
|
#endif /* CONFIG_MTD_PARTITIONS */
|
||||||
|
Loading…
Reference in New Issue
Block a user