diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2010-01-28 12:27:14 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-02-02 08:22:00 +0100 |
commit | f3dec798d9ebf7f17c11ec7671b979ce3d251955 (patch) | |
tree | 80c6d441932434899c0172e328bae99c1e6f6e62 /board/m501sk/m501sk.c | |
parent | 9b208ece0a4e040774e24990b7cb6f0ad0ca4cc7 (diff) | |
download | u-boot-imx-f3dec798d9ebf7f17c11ec7671b979ce3d251955.zip u-boot-imx-f3dec798d9ebf7f17c11ec7671b979ce3d251955.tar.gz u-boot-imx-f3dec798d9ebf7f17c11ec7671b979ce3d251955.tar.bz2 |
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>
Diffstat (limited to 'board/m501sk/m501sk.c')
0 files changed, 0 insertions, 0 deletions