sunxi/nand: Add support to the SPL for loading u-boot from internal NAND memory
authorDaniel Kochmański <dkochmanski@turtle-solutions.eu>
Tue, 26 May 2015 15:00:42 +0000 (17:00 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 29 May 2015 11:46:36 +0000 (13:46 +0200)
commitf76eba38b3eda905ff3bdc18dd1240d3dcbc6e5a
tree56a788b048b1f8121f45ac335fb98ce157c9eb9a
parentd0f4200392515194bf67213165be906e5b9e5748
sunxi/nand: Add support to the SPL for loading u-boot from internal NAND memory

This commit adds support to the sunxi SPL to load u-boot from the internal
NAND. Note this only adds support to access the boot partitions to load
u-boot, full NAND support to load the kernel, etc. from the nand data
partition will come later.

Signed-off-by: Roy Spliet <r.spliet@ultimaker.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 files changed:
arch/arm/cpu/armv7/sunxi/board.c
arch/arm/include/asm/arch-sunxi/gpio.h
arch/arm/include/asm/arch-sunxi/nand.h [new file with mode: 0644]
board/sunxi/Kconfig
board/sunxi/board.c
drivers/mtd/nand/Makefile
drivers/mtd/nand/sunxi_nand_spl.c [new file with mode: 0644]
include/configs/sun4i.h
include/configs/sun5i.h
include/configs/sun6i.h
include/configs/sun7i.h
include/configs/sun8i.h
include/configs/sunxi-common.h