Home
last modified time | relevance | path

Searched refs:sect_size_old (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/drivers/mtd/
Dcfi_mtd.c134 int sect_size_old = 0; in cfi_mtd_set_erasesize() local
146 if (sect_size_old != flash_sector_size(fi, sect)) in cfi_mtd_set_erasesize()
148 sect_size_old = flash_sector_size(fi, sect); in cfi_mtd_set_erasesize()
156 mtd->erasesize = sect_size_old; in cfi_mtd_set_erasesize()
168 sect_size_old = flash_sector_size(fi, 0); in cfi_mtd_set_erasesize()
170 if (sect_size_old != flash_sector_size(fi, sect)) { in cfi_mtd_set_erasesize()
172 mtd->eraseregions[regions].erasesize = sect_size_old; in cfi_mtd_set_erasesize()
187 sect_size_old = flash_sector_size(fi, sect); in cfi_mtd_set_erasesize()
194 mtd->eraseregions[regions].erasesize = sect_size_old; in cfi_mtd_set_erasesize()