summaryrefslogtreecommitdiff
path: root/board/m501sk/m501sk.c
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2010-01-28 12:27:14 +0100
committerStefan Roese <sr@denx.de>2010-02-02 08:22:00 +0100
commitf3dec798d9ebf7f17c11ec7671b979ce3d251955 (patch)
tree80c6d441932434899c0172e328bae99c1e6f6e62 /board/m501sk/m501sk.c
parent9b208ece0a4e040774e24990b7cb6f0ad0ca4cc7 (diff)
downloadu-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