commit | 4d4d3690f437ffb94a26d3af54ccb7110373dede | [log] [tgz] |
---|---|---|
author | Ke Dong <kedong@google.com> | Wed Aug 22 23:41:59 2012 -0700 |
committer | Ke Dong <kedong@google.com> | Fri Aug 24 17:04:20 2012 -0700 |
tree | e6a21550cddd1447abae24003eba077191d9b093 | |
parent | 20c45108e62e49198b5a8fa939d805849408a7a9 [diff] |
Find the bad blocks for each partition. During kernel init, the BBT is scanned and the bad block is mapped to corresponding MTD partitions. This information is posted in /proc/sys/dev/repartition/bbinfo. The information can be used later for purposes like non-bb check of kernel partition during manufacturing, diagnostics and statistics. Change-Id: I3a7e0129b1b48bb611647f08b9baf68c7cf26480