.offset = 0,
.size = 0x040000,
.mask_flags = MTD_WRITEABLE,
- } , {
+ }, {
.name = "u-boot-env",
.offset = 0x040000,
.size = 0x010000,
- } , {
+ }, {
.name = "rootfs",
.offset = 0x050000,
.size = 0x500000,
- } , {
+ }, {
.name = "uImage",
.offset = 0x550000,
.size = 0x100000,
- } , {
+ }, {
.name = "ART",
.offset = 0x650000,
.size = 0x1b0000,
static struct flash_platform_data ap81_flash_data = {
#ifdef CONFIG_MTD_PARTITIONS
- .parts = ap81_partitions,
- .nr_parts = ARRAY_SIZE(ap81_partitions),
+ .parts = ap81_partitions,
+ .nr_parts = ARRAY_SIZE(ap81_partitions),
#endif
};
.threshold = 3,
.gpio = AP81_GPIO_BTN_SW1,
.active_low = 1,
- } , {
+ }, {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_1,