[U-Boot] [PATCH 0/4] sunxi: nand: Basic NAND driver with SPL support

Piotr Zierhoffer
2015-07-16T11:25:11Z

This is a basic driver for the sunxi NAND controller for Allwinner A20.
It supports both SPL and U-Boot.

The driver uses DMA for data transfers. It does not support writing.

To enable user reading from NADN, the a20_nandread command was added.

Piotr Zierhoffer (4):
sunxi: nand: Add basic sunxi NAND driver with DMA support
sunxi: nand: Add board configuration options
sunxi: nand: Add a20_nandread command to load image from NAND in SPL
sunxi: nand: Add information to sunxi that it was run from NAND in SPL

arch/arm/cpu/armv7/sunxi/board.c | 4 +
board/sunxi/Kconfig | 10 ++
board/sunxi/Makefile | 1 +
board/sunxi/nand.c | 315 +++++++++++++++++++++++++++++++++++++++
board/sunxi/nand.h | 146 ++++++++++++++++++
common/Makefile | 1 +
common/cmd_a20_nandread.c | 25 ++++
include/configs/sunxi-common.h | 13 ++
8 files changed, 515 insertions(+)
create mode 100644 board/sunxi/nand.c
create mode 100644 board/sunxi/nand.h
create mode 100644 common/cmd_a20_nandread.c

--
2.3.6