[PATCH 0/7] Add i.MX7 NAND boot support

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 30 05:15:46 PDT 2022


NAND boot on i.MX7 is the same as on i.MX6, just a little different.
This series adds a barebox update handler to allow writing barebox
to NAND flash.

Sascha

Johannes Zink (4):
  mtd: nand-mxs: refactor flash layout configuration
  mtd: nand-mxs: add i.MX7 FCB write support
  imx-bbu-nand-fcb: isolate i.MX28 specific parts
  imx-bbu-nand-fcb: extend for i.MX7 support

Sascha Hauer (3):
  mtd: nand-mxs: Factor out a bch read function
  imx-bbu-nand-fcb: pass imx_handler further down
  imx-bbu-nand-fcb: add fcb_read/fcb_write function hooks

 arch/arm/mach-imx/include/mach/imx7-regs.h |   3 +
 common/Kconfig                             |   2 +-
 common/imx-bbu-nand-fcb.c                  | 267 ++++++++++++++----
 drivers/mtd/nand/nand_mxs.c                | 297 ++++++++++++++++++---
 include/bbu.h                              |   5 +
 include/linux/mtd/nand_mxs.h               |   4 +
 include/soc/imx/imx-nand-bcb.h             |  11 +
 7 files changed, 492 insertions(+), 97 deletions(-)

-- 
2.30.2




More information about the barebox mailing list