[PATCH 0/2] MXS nand fixes in SPL

Michael Trimarchi michael at amarulasolutions.com
Sat Apr 23 10:11:53 CEST 2022


Those patches come after some testing of failing in factory on some
unit. We found out that the bootrom imx loader was not able to handling
badblock. This can be a limit of the implementation right now in imx8mn.
Anyway not all the imx platform has the support of this loader. I found
some problems on the implementation so I have fixed it up according the
experience of Sitara. I tested only using a Fit Image as a flash
container

Michael Trimarchi (2):
  nand: raw: mxs_nand: Fix specific hook registration
  mtd: nand: mxs_nand_spl: Fix bad block skipping

 drivers/mtd/nand/raw/mxs_nand.c     | 32 +++++-----
 drivers/mtd/nand/raw/mxs_nand_spl.c | 90 ++++++++++++++++-------------
 2 files changed, 65 insertions(+), 57 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list