]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/Kconfig
sunxi_nand_spl: Be smarter about where to look for backup u-boot.bin
[u-boot] / drivers / mtd / nand / Kconfig
index 3024357de713de0b23fecb731b3b529caa6ec33d..9a74064c98b5d13bb73cda2bb1a46f3aaf0cd643 100644 (file)
@@ -56,6 +56,21 @@ config SYS_NAND_VF610_NFC_60_ECC_BYTES
 
 endchoice
 
+config NAND_PXA3XX
+       bool "Support for NAND on PXA3xx and Armada 370/XP/38x"
+       select SYS_NAND_SELF_INIT
+       help
+         This enables the driver for the NAND flash device found on
+         PXA3xx processors (NFCv1) and also on Armada 370/XP (NFCv2).
+
+config NAND_SUNXI
+       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
+       sunxi NAND using DMA transfers.
+
 comment "Generic NAND options"
 
 # Enhance depends when converting drivers to Kconfig which use this config
@@ -77,6 +92,15 @@ config SYS_NAND_BUSWIDTH_16BIT
            not available while configuring controller. So a static CONFIG_NAND_xx
            is needed to know the device's bus-width in advance.
 
+# Enhance depends when converting drivers to Kconfig which use this config
+config SYS_NAND_U_BOOT_OFFS
+       hex "Location in NAND to read U-Boot from"
+       default 0x8000 if NAND_SUNXI
+       depends on NAND_SUNXI
+       help
+       Set the offset from the start of the nand where u-boot should be
+       loaded from.
+
 if SPL
 
 config SPL_NAND_DENALI