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