diff options
| author | Ladislav Michl <[email protected]> | 2010-01-28 12:27:14 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2010-02-02 08:22:00 +0100 |
| commit | f3dec798d9ebf7f17c11ec7671b979ce3d251955 (patch) | |
| tree | 80c6d441932434899c0172e328bae99c1e6f6e62 /board/eNET | |
| parent | 9b208ece0a4e040774e24990b7cb6f0ad0ca4cc7 (diff) | |
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 <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'board/eNET')
0 files changed, 0 insertions, 0 deletions
