Skip to content
Commit 37a7c374 authored by Michael Trimarchi's avatar Michael Trimarchi Committed by Stefano Babic
Browse files

arm: mach-imx: cmd_nandbcb fix bad block handling



The badblock should be skipped properly in reading and writing.
Fix the logic. The bcb struct is written, skipping the bad block,
so we need to read using the same logic. This was tested create
bad block in the area and then flash it and read it back.

Acked-by: default avatarHan Xu <han.xu@nxp.com>
Tested-By: default avatarTim Harvey <tharvey@gateworks.com>
Signed-off-by: default avatarMichael Trimarchi <michael@amarulasolutions.com>
parent a222c147
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment