diff options
author | Mike Dunn <mikedunn@newsguy.com> | 2012-12-07 20:07:23 (GMT) |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-12-12 15:03:42 (GMT) |
commit | 3c9c6d657a94f9b9aae498cb5951659cc67fd6ad (patch) | |
tree | f4969efdec7109ca179865f5839242a952141cf9 /tools | |
parent | 440b1d73b1b49bc08e1709ee6f6ef7ba2fc1f8ba (diff) | |
download | linux-fsl-qoriq-3c9c6d657a94f9b9aae498cb5951659cc67fd6ad.tar.xz |
mtd: nand/docg4: fix and improve read of factory bbt
This patch does two things related to reading the factory badblock table during
initialization: (1) fix error where a non-zero return code from
docg4_read_page() is assumed to be an error (it was later changed to be
max_bitflips; thanks to Brian Norris for bringing this to my attention a while
back), and (2) if there is an error reading the factory bbt, it tries reading
another (redundant) factory bbt table.
Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions