ARM: at91: atmel_nand: Support flash based BBT
authorDavid Dueck <davidcdueck@googlemail.com>
Fri, 20 Mar 2015 09:52:49 +0000 (10:52 +0100)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 31 Mar 2015 23:04:28 +0000 (01:04 +0200)
commitda78fb541494ac778a0fe66cc02e2fea33e228d9
tree86794dd5ac8ac6bdc4c5d1c3c65b99c59821bc64
parent55ebd0c1ca41ddb1ccf6f7d172e867cfb8c68708
ARM: at91: atmel_nand: Support flash based BBT

Add support for on-flash bad block table. This makes U-Boot handle an existing
BBT correctly.

Signed-off-by: David Dueck <davidcdueck@googlemail.com>
Reviewed-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
CC: Boris BREZILLON <boris.brezillon@free-electrons.com>
CC: Josh Wu <josh.wu@atmel.com>
CC: Andreas Bießmann <andreas.devel@googlemail.com>
CC: Scott Wood <scottwood@freescale.com>
Acked-by: Josh Wu <josh.wu@atmel.com>
drivers/mtd/nand/atmel_nand.c