Searched refs:flash_devices (Results 1 – 1 of 1) sorted by relevance
115 static struct flash_device flash_devices[] = { variable362 for (index = 0; index < ARRAY_SIZE(flash_devices); index++) { in get_flash_index()363 if (flash_devices[index].device_id == flash_id) in get_flash_index()886 flash->mtd.name = flash_devices[flash_index].name; in spear_smi_setup_banks()894 flash->mtd.erasesize = flash_devices[flash_index].sectorsize; in spear_smi_setup_banks()895 flash->page_size = flash_devices[flash_index].pagesize; in spear_smi_setup_banks()897 flash->erase_cmd = flash_devices[flash_index].erase_cmd; in spear_smi_setup_banks()901 flash->dev_id = flash_devices[flash_index].device_id; in spear_smi_setup_banks()