Searched refs:flash_index (Results 1 – 1 of 1) sorted by relevance
850 int flash_index; in spear_smi_setup_banks() local869 flash_index = spear_smi_probe_flash(dev, bank); in spear_smi_setup_banks()870 if (flash_index < 0) { in spear_smi_setup_banks()872 return flash_index; in spear_smi_setup_banks()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()