Lines Matching refs:parts
623 static struct mtd_partition parts[2]; in txx9_physmap_flash_init() local
627 if (pdata->nr_parts == 0 && !pdata->parts && in txx9_physmap_flash_init()
629 !parts[0].name) { in txx9_physmap_flash_init()
630 parts[0].name = "boot"; in txx9_physmap_flash_init()
631 parts[0].offset = 0x1fc00000 - addr; in txx9_physmap_flash_init()
632 parts[0].size = addr + size - 0x1fc00000; in txx9_physmap_flash_init()
633 parts[1].name = "user"; in txx9_physmap_flash_init()
634 parts[1].offset = 0; in txx9_physmap_flash_init()
635 parts[1].size = 0x1fc00000 - addr; in txx9_physmap_flash_init()
637 pdata_part.nr_parts = ARRAY_SIZE(parts); in txx9_physmap_flash_init()
638 pdata_part.parts = parts; in txx9_physmap_flash_init()