u-boot/drivers
Masahiro Yamada ab37b76d5d mtd: nand: do not scan BBT after scrub
Currently, "nand scrub" runs chip->scan_bbt at the end of
nand_erase_opts() even if NAND_SKIP_BBTSCAN flag is set.

It violates the intention of NAND_SKIP_BBTSCAN.

Move NAND_SKIP_BBTSCAN flag check to nand_block_checkbad() so that
chip->scan_bbt() is never run if NAND_SKIP_BBTSCAN is set.

Also, unset NAND_BBT_SCANNED flag instead of running chip->scan_bbt()
right after scrub.  We can be lazier here because the BBT is scanned
at the next call of nand_block_checkbad().

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Scott Wood <scottwood@freescale.com>
2015-01-09 12:19:06 -06:00
..
bios_emulator bios_emulator: Correct ordering of includes 2014-12-13 15:08:04 -07:00
block ahci-plat: provide a weak scsi_bus_reset() hook 2015-01-05 15:13:46 -05:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core dm: device: Add newline to debug() messages 2014-12-11 13:18:43 -07:00
crypto crypto/fsl: Fix RNG instantiation failure. 2014-12-15 09:16:26 -08:00
ddr/fsl driver/ddr/fsl: Fix MRC_CYC calculation for DDR3 2014-12-15 09:15:12 -08:00
demo kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
dfu dfu: dfu_get_buf: check the value of env dfu_bufsiz before use 2014-12-18 12:26:06 +01:00
dma dma: keystone_nav: remove spurious qm_cfg verification 2014-11-06 11:04:39 -05:00
fpga fs: API changes enabling extra parameter to return size of type loff_t 2014-11-23 06:49:04 -05:00
gpio x86: ich6-gpio: Add Intel Tunnel Creek GPIO support 2014-12-18 17:26:06 -07:00
hwmon kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
i2c i2c:mxc fix array size of i2c_data 2015-01-08 11:00:45 -05:00
input cros-ec-keyboard: Synchronize DT binding from linux 2015-01-05 17:45:16 -07:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc i2c_eeprom: include <linux/err.h> to fix build error 2015-01-05 17:45:15 -07:00
mmc MVEBUMMC : REMOVE unnecessary delay from init 2015-01-06 10:10:28 +02:00
mtd mtd: nand: do not scan BBT after scrub 2015-01-09 12:19:06 -06:00
net powerpc: manroland: remove uc100, uc101, mucmc52, hmi1001 support 2015-01-05 12:08:51 -05:00
pci pci: tegra: Add Tegra PCIe driver 2014-12-18 13:19:20 -07:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
power power: Add AMS AS3722 PMIC support 2014-12-18 13:19:20 -07:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe qe/deep-sleep: modify qe deep-sleep for generic board 2014-12-15 09:16:49 -08:00
rtc mpc8260: remove atc board support 2015-01-05 12:08:55 -05:00
serial x86: Rename coreboot-serial to x86-serial 2014-12-18 17:26:08 -07:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
spi qspi:fsl implement AHB read 2015-01-09 00:03:28 +05:30
thermal thermal: imx_thermal: Do not display calibration data 2014-12-01 10:20:18 +01:00
tpm Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: eth: add ASIX AX88179 DRIVER 2014-12-31 19:10:13 +01:00
video mpc8xx: remove lwmon board support 2015-01-05 12:08:52 -05:00
watchdog kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2014-11-26 11:23:26 -05:00