[PATCH 00/14] Add i.MX7 NAND xload support

Sascha Hauer s.hauer at pengutronix.de
Tue Nov 1 08:30:34 PDT 2022


This series adds i.MX7 NAND xload support. We have made quite a mess
with the different register defines for both the APBH DMA support and
the GPMI controller, so this is cleaned up first. There are other
cleanups and bugfixes as well, so adding i.MX7 support has become the
smallest thing in this series ;)

Sascha

Ahmad Fatoum (1):
  ARM: i.MX: xload-gpmi-nand: refactor for more SoC support

Sascha Hauer (13):
  mtd: nand: nand-mxs: Move register definitions to separate file
  ARM: i.MX: xload nand: Use common register defines
  ARM: i.MX: xload nand: add common readid
  dma: apbh-dma: Simplify code
  dma: apbh-dma: unify register defines
  imx-bbu-nand-fcb: pull printing debug info out of get_fcb()
  ARM: i.MX: xload nand: Pull ECC status checking out of read page
  ARM: i.MX: xload nand: Use final page layout from FCB
  imx-bbu-nand-fcb: Fix reading FCB information from BCH registers
  ARM: i.MX: xload nand: reset NAND before accessing it
  ARM: i.MX: xload nand: Move mxs_nand_mode_fcb_62bit() to header file
  ARM: i.MX: xload nand: Implement i.MX7 support
  imx-bbu-nand-fcb: Add fcb command

 arch/arm/mach-imx/include/mach/imx6-regs.h |   2 +
 arch/arm/mach-imx/include/mach/imx7-regs.h |   1 +
 arch/arm/mach-imx/include/mach/xload.h     |   1 +
 arch/arm/mach-imx/xload-gpmi-nand.c        | 637 +++++++++++----------
 commands/Kconfig                           |   9 +
 common/imx-bbu-nand-fcb.c                  | 199 +++++--
 drivers/dma/apbh_dma.c                     | 514 +----------------
 drivers/mtd/nand/nand_mxs.c                | 412 ++++---------
 include/dma/apbh-dma.h                     |  95 ++-
 include/soc/imx/gpmi-nand.h                | 141 +++++
 10 files changed, 791 insertions(+), 1220 deletions(-)
 create mode 100644 include/soc/imx/gpmi-nand.h

-- 
2.30.2




More information about the barebox mailing list