diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2018-02-06 22:42:56 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-03-13 19:50:10 +0530 |
commit | c2a7a7ef866f2980213fee2a4a0df60fb06db6d0 (patch) | |
tree | 121b00304d0fbe8b37cfc9a4a1a0256bf7fc84f8 /arch/arm/mach-sunxi/Kconfig | |
parent | 84807922874e03895bbf15c4472a2dcee8fbbd03 (diff) | |
download | u-boot-c2a7a7ef866f2980213fee2a4a0df60fb06db6d0.tar.gz u-boot-c2a7a7ef866f2980213fee2a4a0df60fb06db6d0.tar.xz u-boot-c2a7a7ef866f2980213fee2a4a0df60fb06db6d0.zip |
arm: sunxi: Move spl spi sunxi code to mach-sunxi
This SUNXI variant SPL SPI code doesn't use either SPI or
SPL_FLASG subsystems due to size constraints and also placing
this code in drivers/mtd/spi will unnecessary build SPI_FLASH
code(if defined) which never required, hence moved to arch area.
And also renamed the file according to kconfig which resembles
proper name.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'arch/arm/mach-sunxi/Kconfig')
-rw-r--r-- | arch/arm/mach-sunxi/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 1fededd0a3..dc48eefdef 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -847,4 +847,12 @@ config SPL_STACK_R_ADDR default 0x2fe00000 if MACH_SUN9I default 0x4fe00000 if MACH_SUN50I +config SPL_SPI_SUNXI + bool "Support for SPI Flash on Allwinner SoCs in SPL" + depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUNXI_H3_H5 || 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 |