diff mbox series

Enable v3s SPI boot

Message ID CAP71nqddA9buVXF4tVHDJv-vDgQsmRDu19DPjiRLnEod2nN2Qg@mail.gmail.com
State New
Headers show
Series Enable v3s SPI boot | expand

Commit Message

杨廉 Sept. 20, 2024, 1:23 a.m. UTC
From c50287a2ced52be159292d1d31cadf0d41b6ebbe Mon Sep 17 00:00:00 2001
From: Lian Yang <lian.yang.cn@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(-)

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
diff mbox series

Patch

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 ||