
Hello,
This patch series is adding the normal sunxi NAND controller driver to u-boot.
It's based on the Linux driver, with a few adaptions to make it work in Linux.
It's based on Scott's series syncing the MTD/NAND frameworks with Linux 4.6 [1].
Best Regards,
Boris
[1]https://patchwork.ozlabs.org/patch/627928/
Boris Brezillon (4): sunxi: Add missing macros to configure the NAND controller clk mtd: nand: Add the sunxi NAND controller driver mtd: nand: Add a full-id entry for the H27QCG8T2E5R‐BCF NAND sunxi: Enable NAND controller on the CHIP
Brian Norris (1): mtd: nand: add common DT init code
Maxime Ripard (1): sun5i: Add NAND controller to the sun5i DTSI
arch/arm/dts/sun5i-a10s.dtsi | 14 + arch/arm/dts/sun5i-a13-olinuxino.dts | 15 + arch/arm/dts/sun5i-r8-chip.dts | 15 + arch/arm/dts/sun5i.dtsi | 49 + arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 5 + board/sunxi/board.c | 9 +- drivers/mtd/nand/Kconfig | 8 +- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 70 + drivers/mtd/nand/nand_ids.c | 4 + drivers/mtd/nand/sunxi_nand.c | 1845 +++++++++++++++++++++++++ include/configs/sunxi-common.h | 2 + include/fdtdec.h | 1 + include/linux/mtd/nand.h | 3 + lib/fdtdec.c | 1 + 15 files changed, 2038 insertions(+), 4 deletions(-) create mode 100644 drivers/mtd/nand/sunxi_nand.c