imx-bbu-nand-fcb: Mark block as bad when erasing it fails
When a block cannot be erased it must be marked as bad. Previously we accidently ignored the erase failure and the the code just wrote the firmware into that block which resulted in boot failure. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
common/imx-bbu-nand-fcb.c |
---|