imx-bbu-nand-fcb: Use mtd-peb API to write firmware
With this patch we verify the firmware written to the NAND and thus
can react on write failures. We torture the block and if it went
bad we mark it as bad.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c5532a2 commit f6f7bccaa1f79d8e79621c9658f1b1c9fc417dc3
@Sascha Hauer Sascha Hauer authored on 4 Mar 2016
Showing 1 changed file
View
common/imx-bbu-nand-fcb.c