diff options
author | Tokunori Ikegami <[email protected]> | 2018-05-30 18:32:28 +0900 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2018-05-30 21:38:25 +0200 |
commit | 45f75b8a919a4255f52df454f1ffdee0e42443b2 (patch) | |
tree | fa88e8593ed9c041e9e67cd06e003026c9cb5c2d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 85a82e28b023de9b259a86824afbd6ba07bd6475 (diff) |
mtd: cfi_cmdset_0002: Change erase functions to retry for error
For the word write functions it is retried for error.
But it is not implemented to retry for the erase functions.
To make sure for the erase functions change to retry as same.
This is needed to prevent the flash erase error caused only once.
It was caused by the error case of chip_good() in the do_erase_oneblock().
Also it was confirmed on the MACRONIX flash device MX29GL512FHT2I-11G.
But the error issue behavior is not able to reproduce at this moment.
The flash controller is parallel Flash interface integrated on BCM53003.
Signed-off-by: Tokunori Ikegami <[email protected]>
Reviewed-by: Joakim Tjernlund <[email protected]>
Cc: Chris Packham <[email protected]>
Cc: Brian Norris <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Boris Brezillon <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Cyrille Pitchen <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions