sunxi: Support booting from SPI flash
[oweals/u-boot.git] / drivers / mtd / spi / Kconfig
index 3f7433cbc214b76a7120886f858047d64b51744c..1f23c8e34e6f0579df67694924164d72f3e10f1a 100644 (file)
@@ -128,4 +128,16 @@ config SPI_FLASH_MTD
 
          If unsure, say N
 
+if SPL
+
+config SPL_SPI_SUNXI
+       bool "Support for SPI Flash on Allwinner SoCs in SPL"
+       depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUN8I_H3 || MACH_SUN50I
+       ---help---
+       Enable support for SPI Flash. This option allows SPL to read from
+       sunxi SPI Flash. It uses the same method as the boot ROM, so does
+       not need any extra configuration.
+
+endif
+
 endmenu # menu "SPI Flash Support"