mbox series

[U-Boot,0/8] Bring NAND support to Nintendo NES Classic

Message ID 20180124004454.5759-1-miquel.raynal@free-electrons.com
Headers show
Series Bring NAND support to Nintendo NES Classic | expand

Message

Miquel Raynal Jan. 24, 2018, 12:44 a.m. UTC
Hello,

This series adds fixes to sunxi NAND drivers (SPL and U-Boot), in order
to later migrate the SPL driver to use PIO instead of DMA to have more
generic code (working also on a A33). Finally, NAND support is added to
Nintendo NES Classic through Kconfig and DT additions.

Thanks,
Miquèl

Miquel Raynal (8):
  mtd: nand: sunxi: Fix strength minimum value
  spl: nand: sunxi: Fix second case of modulo by zero error
  sunxi: Allow SPL to be compiled for sun8i platforms
  spl: nand: sunxi: Enhancements and cleaning
  spl: nand: sunxi: use PIO instead of DMA
  configs: Add NAND support for NES Classic
  sunxi: dts: Add NAND node to sun8i DTSI
  sunxi: dts: Enable NAND on NES classic

 arch/arm/dts/sun8i-a23-a33.dtsi                    |  31 +++
 arch/arm/dts/sun8i-a33.dtsi                        |   8 +
 .../dts/sun8i-r16-nintendo-nes-classic-edition.dts |  14 ++
 arch/arm/include/asm/arch-sunxi/clock_sun6i.h      |   6 +
 board/sunxi/board.c                                |   4 +-
 configs/Nintendo_NES_Classic_Edition_defconfig     |   4 +
 drivers/mtd/nand/Kconfig                           |   2 +-
 drivers/mtd/nand/sunxi_nand.c                      |   1 +
 drivers/mtd/nand/sunxi_nand_spl.c                  | 236 +++++++++++----------
 9 files changed, 188 insertions(+), 118 deletions(-)