Skip to content

imx: Add iMX6 NAND support

Stefan Roese u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4imx: Move some header files from arch-mxs to imx-commonarch/arm/cpu/arm926ejs/mxs/mxs.c arch/arm/include/asm/arch-mxs/imx-regs.h arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h +21 more+27 -240 replies
2/4imx: Move some i.MX common functions into the imx-common directoryMakefile arch/arm/cpu/arm926ejs/mxs/mxs.c arch/arm/imx-common/Makefile +3 more+102 -640 replies
3/4dma: Add i.MX6 support to drivers/dma/apbh_dma.carch/arm/include/asm/arch-mx6/imx-regs.h arch/arm/include/asm/imx-common/dma.h arch/arm/include/asm/imx-common/regs-apbh.h +1 more+33 -20 replies
4/4mtd: mxs_nand: Add support for i.MX6arch/arm/cpu/armv7/mx6/soc.c arch/arm/include/asm/imx-common/regs-bch.h drivers/mtd/nand/mxs_nand.c+26 -23 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchScott Wood
1/4
2/4
3/4
4/4A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/4] imx: Add iMX6 NAND support

To support NAND on the iMX6 this patch moves some headers into i.MX common locations. Instead of creating new files in the imx6 include directory containing nearly the same content.

Here the diffstat:

Stefan Roese (4):
imx: Move some header files from arch-mxs to imx-common
imx: Move some i.MX common functions into the imx-common directory
dma: Add i.MX6 support to drivers/dma/apbh_dma.c
mtd: mxs_nand: Add support for i.MX6

 Makefile                                           |  2 +-
 arch/arm/cpu/arm926ejs/mxs/mxs.c                   | 65 +----------------
 arch/arm/cpu/armv7/mx6/soc.c                       |  7 ++
 arch/arm/imx-common/Makefile                       |  3 +
 arch/arm/imx-common/misc.c                         | 84 ++++++++++++++++++++++
 arch/arm/include/asm/arch-mx6/imx-regs.h           |  4 ++
 arch/arm/include/asm/arch-mx6/sys_proto.h          | 10 +++
 arch/arm/include/asm/arch-mxs/imx-regs.h           |  6 +-
 arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h  |  2 +-
 arch/arm/include/asm/arch-mxs/regs-clkctrl-mx28.h  |  2 +-
 arch/arm/include/asm/arch-mxs/regs-digctl.h        |  2 +-
 arch/arm/include/asm/arch-mxs/regs-i2c.h           |  2 +-
 arch/arm/include/asm/arch-mxs/regs-lcdif.h         |  2 +-
 arch/arm/include/asm/arch-mxs/regs-lradc.h         |  2 +-
 arch/arm/include/asm/arch-mxs/regs-ocotp.h         |  2 +-
 arch/arm/include/asm/arch-mxs/regs-pinctrl.h       |  2 +-
 arch/arm/include/asm/arch-mxs/regs-power-mx23.h    |  2 +-
 arch/arm/include/asm/arch-mxs/regs-power-mx28.h    |  2 +-
 arch/arm/include/asm/arch-mxs/regs-rtc.h           |  2 +-
 arch/arm/include/asm/arch-mxs/regs-ssp.h           |  2 +-
 arch/arm/include/asm/arch-mxs/regs-timrot.h        |  2 +-
 .../arm/include/asm/{arch-mxs => imx-common}/dma.h | 12 ++++
 .../asm/{arch-mxs => imx-common}/regs-apbh.h       | 19 ++++-
 .../asm/{arch-mxs => imx-common}/regs-bch.h        | 12 +++-
 .../asm/{arch-mxs => imx-common}/regs-common.h     |  0
 .../asm/{arch-mxs => imx-common}/regs-gpmi.h       |  2 +-
 drivers/dma/apbh_dma.c                             |  5 +-
 drivers/mmc/mxsmmc.c                               |  2 +-
 drivers/mtd/nand/mxs_nand.c                        | 15 +++-
 drivers/spi/mxs_spi.c                              |  2 +-
 spl/Makefile                                       |  4 ++
 31 files changed, 188 insertions(+), 92 deletions(-)
 create mode 100644 arch/arm/imx-common/misc.c
 rename arch/arm/include/asm/{arch-mxs => imx-common}/dma.h (93%)
 rename arch/arm/include/asm/{arch-mxs => imx-common}/regs-apbh.h (97%)
 rename arch/arm/include/asm/{arch-mxs => imx-common}/regs-bch.h (96%)
 rename arch/arm/include/asm/{arch-mxs => imx-common}/regs-common.h (100%)
 rename arch/arm/include/asm/{arch-mxs => imx-common}/regs-gpmi.h (99%)

Comments welcome.

Thanks,
Stefan

Cc Stefano Babic <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Scott Wood <[email protected]>