diff options
author | Fryar, Jeff <jeff.fryar@hp.com> | 2011-08-11 16:30:33 +0100 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-08-19 20:01:59 +0300 |
commit | 262a2c625e84d9481d2841b0eb674f8e0440a36a (patch) | |
tree | 515942c7fd86ec7361ef2c791d8fb15260245e92 /flashcp.c | |
parent | d2432457a5469804c33f3f71c5d1a5f722a9295f (diff) |
nandwrite: invalid erase after page write failure
mtd-utils nandwrite.c: After a page write failure, the calculation
of the block number to erase is incorrect. The erase block size is
being passed as the erase block number in the call to mtd_erase().
Signed-off-by: Jeff Fryar <jeff.fryar@hp.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'flashcp.c')
0 files changed, 0 insertions, 0 deletions