[U-Boot] [PATCH] nand: reinstate lazy bad block scanning

Heiko Schocher
2012-02-21T06:44:27Z

Hello Scott,

Scott Wood wrote:
> commit 2a8e0fc8b3dc31a3c571e439fbf04b882c8986be ("nand: Merge changes
> from Linux nand driver") accidentally reverted commit
> 13f0fd94e3cae6f8a0d9fba5d367e311edc8ebde ("NAND: Scan bad blocks
> lazily.").
>
> Reinstate the change, as amended by commit
> ff49ea8977b56916edd5b1766d9939010e30b181 ("NAND: Mark the BBT as scanned
> prior to calling scan_bbt.").
>
> Signed-off-by: Scott Wood <scottwood@freescale.com>
> ---
> drivers/mtd/nand/nand_base.c | 10 +++++++---
> include/linux/mtd/nand.h | 2 ++
> 2 files changed, 9 insertions(+), 3 deletions(-)

Thanks!

Tested on the enbw_cmc board.

Acked-by: Heiko Schocher <hs@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany