summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-15 13:17:49 +0200
committerHans de Goede <hdegoede@redhat.com>2015-08-31 08:43:42 +0200
commit022a99d8b2f84e6bda44e6dcfd1748219b665143 (patch)
tree25adf4c6ac41f656b2bf935a572afbed2764c3bf /drivers
parent008ac1dfe0815476cca819c16e06616c12c303b7 (diff)
downloadtalos-obmc-uboot-022a99d8b2f84e6bda44e6dcfd1748219b665143.tar.gz
talos-obmc-uboot-022a99d8b2f84e6bda44e6dcfd1748219b665143.zip
sunxi_nand_spl: Add support for sun4i and sun5i SoCs
Other then having a few less chip-select lines the nand controller on sun4i, sun5i and sun7i is identical. Note this patch also muxes GPC7 to the NAND on sun7i where as before it was not muxed this way. GPC7 is a standard NAND pin, so it should always be muxed to the NAND when in use. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 28597f0c8b..8fac5e873b 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -93,8 +93,8 @@ config SPL_NAND_DENALI
for use on SPL.
config SPL_NAND_SUNXI
- bool "Support for NAND on Allwinner A20 in SPL"
- depends on MACH_SUN7I
+ bool "Support for NAND on Allwinner SoCs in SPL"
+ 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
OpenPOWER on IntegriCloud