Searched refs:tested_erase (Results 1 – 1 of 1) sorted by relevance
2470 const struct spi_nor_erase_type *tested_erase, *erase = NULL; in spi_nor_select_uniform_erase() local2482 tested_erase = &map->erase_type[i]; in spi_nor_select_uniform_erase()2485 if (!tested_erase->size) in spi_nor_select_uniform_erase()2493 tested_erase->size == SZ_4K) { in spi_nor_select_uniform_erase()2494 erase = tested_erase; in spi_nor_select_uniform_erase()2502 if (!erase && tested_erase->size) in spi_nor_select_uniform_erase()2503 erase = tested_erase; in spi_nor_select_uniform_erase()