MTD GMB盒子的MTD定义

0 views
Skip to first unread message

略略

unread,
Apr 24, 2009, 7:53:32 AM4/24/09
to RDC_taiwan
static struct mtd_partition mgb100_partitions[] = {
{
name: "Kernel",
size: 0x180000,
offset: 0,
}, {
name: "initrd",
size: 0x280000,
offset: MTDPART_OFS_APPEND,
}, {
name: "configuration",
size: 0x60000,
offset: MTDPART_OFS_APPEND,
}, {
name: "spare",
size: 0x10000,
offset: MTDPART_OFS_APPEND,
}, {
name: "factory settings",
size: 0x2000,
offset: MTDPART_OFS_APPEND,
}, {
name: "Boot Loader",
size: MTDPART_SIZ_FULL,
offset: MTDPART_OFS_APPEND,
/* mask_flags: MTD_WRITEABLE, */ /* force read-only */
}
};
Reply all
Reply to author
Forward
0 new messages