aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/config-4.9
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-07-08 01:47:28 +0200
committerMathias Kresin <dev@kresin.me>2018-07-24 22:24:21 +0200
commit0ac91d82ed4d077150db902eb12d383c2be44fb2 (patch)
tree6413015a347e66f08a76ed46ce65f8a680db0ae2 /target/linux/generic/config-4.9
parentfdf6760cda15b2710287c66c9969a3ed527793d8 (diff)
downloadupstream-0ac91d82ed4d077150db902eb12d383c2be44fb2.tar.gz
upstream-0ac91d82ed4d077150db902eb12d383c2be44fb2.tar.bz2
upstream-0ac91d82ed4d077150db902eb12d383c2be44fb2.zip
kernel: handle bad blocks in ubi auto attach code
The first block(s) of the ubi mtd device might be bad. We need to take care on our own to skip the bad block(s) and read the next one(s). Don't treat recoverable read errors as fatal and check for the UBI magic if the data of a block could be recovered using ECC or similar. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/generic/config-4.9')
0 files changed, 0 insertions, 0 deletions