[PATCH V4 1/5] nand: raw: mxs_nand: Fix specific hook registration

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


> Move the hook after nand_scan_tail is called. The hook must be replaced
> to the mxs specific one but those must to be assignment later in the
> probe function.
> With this fix markbad is working again. Before this change:
> nand markbad 0xDEC00
> NXS NAND: Writing OOB isn't supported
> NXS NAND: Writing OOB isn't supported
> block 0x000dec00 NOT marked as bad! ERROR 0
> Cc: Han Xu <han.xu at nxp.com>
> Cc: Fabio Estevam <festevam at gmail.com>
> 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