diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-06-15 21:09:23 +0200 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-07-24 20:36:28 -0500 |
commit | 4ccae81cdadce39e925f3e8c96567fd911568000 (patch) | |
tree | 43f6deb5a8afbbc4ad9c3abbd83bbbe1cb8de563 /drivers/mtd/nand/Kconfig | |
parent | 42bd19ce6c7bffef402ad6dd639c33686f485d29 (diff) | |
download | u-boot-imx-4ccae81cdadce39e925f3e8c96567fd911568000.zip u-boot-imx-4ccae81cdadce39e925f3e8c96567fd911568000.tar.gz u-boot-imx-4ccae81cdadce39e925f3e8c96567fd911568000.tar.bz2 |
mtd: nand: Add the sunxi NAND controller driver
We already have an SPL driver for the sunxi NAND controller, now add
the normal/standard one.
The source has been copied from Linux 4.6 with a few changes to make
it work in u-boot.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
-rw-r--r-- | drivers/mtd/nand/Kconfig | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 8c46a2f..5ce7d6d 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -64,12 +64,14 @@ config NAND_PXA3XX PXA3xx processors (NFCv1) and also on Armada 370/XP (NFCv2). config NAND_SUNXI - bool "Support for NAND on Allwinner SoCs in SPL" + bool "Support for NAND on Allwinner SoCs" depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I select SYS_NAND_SELF_INIT ---help--- - Enable support for NAND. This option allows SPL to read from - sunxi NAND using DMA transfers. + Enable support for NAND. This option enables the standard and + SPL drivers. + The SPL driver only supports reading from the NAND using DMA + transfers. config NAND_ARASAN bool "Configure Arasan Nand" |