On Wed,  9 Feb 2022 23:34:38 -0500
Jesse Taube <mr.bossman...@gmail.com> wrote:

Hi,

> Enable spi boot in spl on suniv architecture.

Please mention the F1C100s for context, and also that you are enabling it
for the LicheePi Nano board, which comes with SPI flash.

Otherwise:

> Signed-off-by: Jesse Taube <mr.bossman...@gmail.com>

Reviewed-by: Andre Przywara <andre.przyw...@arm.com>

Cheers,
Andre

> ---
>  arch/arm/mach-sunxi/Kconfig     | 2 +-
>  configs/licheepi_nano_defconfig | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index 205fe3c9d3..d1c60d2408 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 2ac0ef4285..9fd1dcc995 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

Reply via email to