imx-bbu-nand-fcb: When writing firmware return new bad blocks
Positive return values of imx_bbu_write_firmware() so far indicate
the last block that has been written to. This value is unused, so
return values > 0 to indicate if there are new bad blocks. This
information can be used in the next step to know if the DBBT has
to be rewritten.

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