summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/nand_bbt.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-02-28 10:13:10 (GMT)
committerBrian Norris <computersforpeace@gmail.com>2015-05-07 03:02:34 (GMT)
commitd24fe0c3e8a79579fdf966c8cff530962742f79c (patch)
tree9097ba5f9ecc49ec7a575c610900cc7f4a95a782 /drivers/mtd/nand/nand_bbt.c
parenta2281e821fc4f75d75c4c2d08398a8884b7d7632 (diff)
downloadlinux-d24fe0c3e8a79579fdf966c8cff530962742f79c.tar.xz
mtd: diskonchip: don't call nand_scan_bbt() directly
The diskonchip driver almost uses the default nand_base hooks as-is, except that it provides custom on-flash BBT descriptors and avoids using factory-marked bad blockers. So let's refactor the BBT initialization code into a private 'late_init' hook which handles all the private details. Note the usage of NAND_SKIP_BBTSCAN, which allows us to defer the BBT scan until we've prepared everything. Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/nand_bbt.c')
0 files changed, 0 insertions, 0 deletions