Searched hist:f3dec798d9ebf7f17c11ec7671b979ce3d251955 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | cfi_mtd.c | f3dec798d9ebf7f17c11ec7671b979ce3d251955 Thu Jan 28 11:27:14 UTC 2010 Ladislav Michl <ladis@linux-mips.org> CFI: fix eraseregions numblocks
eraseregions numblocks was sometimes one less than actual, possibly producing erase regions with zero blocks. As MTD code touches eraseregions only if numeraseregions is greater that zero, allocate eraseregions only for non uniform erase size flash.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Stefan Roese <sr@denx.de>
|