static struct mtd_partition laguna_nor_partitions[] = {
{
.name = "uboot",
- .size = SZ_256K,
.offset = 0,
+ .size = SZ_256K,
.mask_flags = MTD_WRITEABLE,
}, {
.name = "params",
+ .offset = MTDPART_OFS_APPEND,
.size = SZ_128K,
- .offset = SZ_256K,
}, {
.name = "firmware",
- .offset = SZ_256K + SZ_128K,
+ .offset = MTDPART_OFS_APPEND,
+ .size = MTDPART_SIZ_FULL,
},
};
static struct mtd_partition laguna_spi_partitions[] = {
{
.name = "uboot",
- .size = SZ_256K,
.offset = 0,
+ .size = SZ_256K,
.mask_flags = MTD_WRITEABLE,
}, {
.name = "params",
+ .offset = MTDPART_OFS_APPEND,
.size = SZ_256K,
- .offset = SZ_256K,
}, {
.name = "firmware",
- .offset = SZ_512K,
+ .offset = MTDPART_OFS_APPEND,
+ .size = MTDPART_SIZ_FULL,
},
};