aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2013-08-10 08:03:33 +0000
committerBrian Norris <[email protected]>2013-10-27 23:26:59 +0000
commit252026ab9382b5204b7ccd152863a49ae7408656 (patch)
treeca00d920a1647bb2c70133dfcab0bcd35fc53716 /drivers/mtd/lpddr/lpddr_cmds.c
parentnand: docg4: use nand_base's default BBT scan (diff)
downloadkernel-252026ab9382b5204b7ccd152863a49ae7408656.tar.gz
kernel-252026ab9382b5204b7ccd152863a49ae7408656.zip
mtd: nand: lpc32xx_slc: don't call nand_default_bbt directly
This driver is doing some strange logic here. If it doesn't have flash-based BBT enabled, it allows nand_scan_tail() to scan the BBT. But if it is using flash-based BBT, it tells nand_scan_tail() to skip scanning, then it immediately calls the default BBT scanning function itself. As I read it, this logic is equivalent to the default nand_scan_tail() behavior without interfering with NAND_SKIP_BBTSCAN or calling nand_default_bbt() directly at all. Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions