/* SPI 0/1 Platform Data */ /* SPI flash information */ static struct mtd_partition am335x_spi_partitions[] = { /* All the partition sizes are listed in terms of erase size */ { .name = "SPL", .offset = 0, /* Offset = 0x0 */ .size = SZ_128K, }, { .name = "U-Boot", .offset = MTDPART_OFS_APPEND, /* Offset = 0x20000 */ .size = 2 * SZ_128K, }, { .name = "U-Boot Env", .offset = MTDPART_OFS_APPEND, /* Offset = 0x60000 */ .size = 2 * SZ_4K, }, { .name = "Kernel", .offset = MTDPART_OFS_APPEND, /* Offset = 0x62000 */ .size = 28 * SZ_128K, }, { .name = "File System", .offset = MTDPART_OFS_APPEND, /* Offset = 0x3E2000 */ .size = MTDPART_SIZ_FULL, /* size ~= 4.1 MiB */ } };