diff options
| author | Dario Binacchi <[email protected]> | 2022-10-30 15:14:13 +0100 |
|---|---|---|
| committer | Dario Binacchi <[email protected]> | 2022-12-10 14:35:55 +0100 |
| commit | d09807ad144cb2fe3745a58caadf9a4192038839 (patch) | |
| tree | ce51bc2828dea3aa0b5a461b7a5b142bc39abf9e /include | |
| parent | c21b0ca525bd818428a62dd267697071822cc9a9 (diff) | |
cmd: mtd: check if a block has to be skipped or erased
As reported by patch [1], the `mtd erase' command should not erase bad
blocks.
To force bad block erasing you have to use the `mtd erase.dontskipbad'
command.
This patch tries to fix the same issue without modifying code taken
from the linux kernel, in order to make further upgrades easier.
[1] https://lore.kernel.org/all/[email protected]/
Suggested-by: Michael Trimarchi <[email protected]>
Co-developed-by: Michael Trimarchi <[email protected]>
Signed-off-by: Michael Trimarchi <[email protected]>
Co-developed-by: Mikhail Kshevetskiy <[email protected]>
Signed-off-by: Mikhail Kshevetskiy <[email protected]>
Tested-by: Mikhail Kshevetskiy <[email protected]>
Signed-off-by: Dario Binacchi <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
