/driver/mtd/nand/s3c_nand.c
#if defined(CONFIG_ARCH_S5PV210)
struct mtd_partition s3c_partition_info[] = {
{
.name
= "misc",
.offset
= (768*SZ_1K), /* for bootloader */
.size
= (256*SZ_1K),
.mask_flags
= MTD_CAP_NANDFLASH, //OFF: 0x0c0000
},
{
.name
= "recovery",
.offset
= MTDPART_OFS_APPEND, //OFF: 0x100000
.size
= (5*SZ_1M),
},
{
.name
= "kernel",
.offset
= MTDPART_OFS_APPEND, //OFF: 0x600000
.size
= (5*SZ_1M),
},
{
.name
= "ramdisk",
.offset
= MTDPART_OFS_APPEND, //0x0B00000
.size
= (3*SZ_1M),
},
#ifdef CONFIG_MACH_MINI210
{
.name
= "system",
.offset
= MTDPART_OFS_APPEND,
//0x0E00000
.size
= MTDPART_SIZ_FULL,
}
#else
{
.name
= "system",
.offset
= MTDPART_OFS_APPEND,
.size
= (110*SZ_1M),
},
{
.name
= "cache",
.offset
= MTDPART_OFS_APPEND,
.size
= (80*SZ_1M),
},
{
.name
= "userdata",
.offset
= MTDPART_OFS_APPEND,
.size
= MTDPART_SIZ_FULL,
}
#endif
};
struct s3c_nand_mtd_info s3c_nand_mtd_part_info = {
.chip_nr = 1,
.mtd_part_nr = ARRAY_SIZE(s3c_partition_info),
.partition = s3c_partition_info,
};
#endif