[PATCH V4 3/5] arm: mach-imx: cmd_nandbcb fix bad block handling

sbabic at denx.de sbabic at denx.de
Fri May 20 15:42:39 CEST 2022


> 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: Han Xu <han.xu at nxp.com>
> Tested-By: Tim Harvey <tharvey at gateworks.com>
> Signed-off-by: Michael Trimarchi <michael at amarulasolutions.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list