Enable v3s SPI boot

杨廉 lian.yang.cn at gmail.com
Fri Sep 20 03:23:18 CEST 2024


>From c50287a2ced52be159292d1d31cadf0d41b6ebbe Mon Sep 17 00:00:00 2001
From: Lian Yang <lian.yang.cn at gmail.com>
Date: Fri, 20 Sep 2024 09:15:32 +0800
Subject: [PATCH] enable v3s SPI boot

The sunxi SPI driver code already includes support for the V3S, and
enabling SPI boot for the V3S is straightforward. Based on real
hardware testing, as long as the SPI configuration in the DTS file is
correct, the system can boot normally.
---
 arch/arm/mach-sunxi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 17666814c52e..ca2ff846375e 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1078,7 +1078,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_SUN8I_V3S ||
SUN50I_GEN_H6 || MACH_SUNIV || SUNXI_GEN_NCAT2
+ depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I ||
MACH_SUNXI_H3_H5 || MACH_SUN50I || MACH_SUN8I_R40 || MACH_SUN8I_V3S ||
SUN50I_GEN_H6 || MACH_SUNIV || SUNXI_GEN_NCAT2 || MACH_SUN8I_V3S
  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


More information about the U-Boot mailing list