[U-Boot] [PATCH v3 0/6] sunxi: Add NAND controller driver
Boris Brezillon
boris.brezillon at free-electrons.com
Wed Jun 15 21:09:20 CEST 2016
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.
Hans, Scoot, this series contains 2 new patches to support the NAND
flash we have on the CHIP. The patches simply increase MAX_OOB_SIZE
and MAX_ECCPOS values to support NANDs with 1664 OOB bytes.
Best Regards,
Boris
[1]https://patchwork.ozlabs.org/patch/627928/
Changes since v2:
- increase MAX_OOB_SIZE and MAX_ECCPOS values
Changes since v1:
- moved the sunxi_nand_init() prototype definition into include/nand.h
- added Hans Acked-by tags
Boris Brezillon (6):
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
mtd: nand: Increase the max OOB size
sunxi: nand: Increase CONFIG_SYS_NAND_MAX_ECCPOS value
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 | 5 +-
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 | 3 +
include/fdtdec.h | 1 +
include/linux/mtd/nand.h | 5 +-
include/nand.h | 3 +
lib/fdtdec.c | 1 +
16 files changed, 2039 insertions(+), 5 deletions(-)
create mode 100644 drivers/mtd/nand/sunxi_nand.c
--
2.7.4
More information about the U-Boot
mailing list