aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Taube <mr.bossman075@gmail.com>2022-02-11 19:32:35 -0500
committerAndre Przywara <andre.przywara@arm.com>2022-03-03 01:24:06 +0000
commit640f2f3bf1d6320274b17192a1ab9d8030211302 (patch)
tree50ec97db1d97eed3caeffe35713781e449906cd8
parent0dcdaff8b88e996de5d9c91141084cbfcfb01be6 (diff)
downloadu-boot-640f2f3bf1d6320274b17192a1ab9d8030211302.zip
u-boot-640f2f3bf1d6320274b17192a1ab9d8030211302.tar.gz
u-boot-640f2f3bf1d6320274b17192a1ab9d8030211302.tar.bz2
mach-sunxi: Enable SPI boot for SUNIV and licheepi nano
Enable SPI boot in SPL on SUNIV architecture and use it in the licheepi nano that uses the F1C100s. Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r--arch/arm/mach-sunxi/Kconfig2
-rw-r--r--configs/licheepi_nano_defconfig1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 205fe3c..d1c60d2 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1038,7 +1038,7 @@ config SPL_STACK_R_ADDR
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 || MACH_SUN8I_R40 || MACH_SUN50I_H6
+ depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUNXI_H3_H5 || MACH_SUN50I || MACH_SUN8I_R40 || MACH_SUN50I_H6 || MACH_SUNIV
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
diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig
index 2ac0ef4..9fd1dcc 100644
--- a/configs/licheepi_nano_defconfig
+++ b/configs/licheepi_nano_defconfig
@@ -9,3 +9,4 @@ CONFIG_MACH_SUNIV=y
CONFIG_DRAM_CLK=156
CONFIG_DRAM_ZQ=0
# CONFIG_VIDEO_SUNXI is not set
+CONFIG_SPL_SPI_SUNXI=y