diff mbox series

[3/9] ARM: stm32: Imply SPL_SPI_LOAD

Message ID 20210228155226.77904-4-jagan@amarulasolutions.com
State Superseded
Delegated to: Patrice Chotard
Headers show
Series stm32: Add Engicam STM32MP1 SoM | expand

Commit Message

Jagan Teki Feb. 28, 2021, 3:52 p.m. UTC
SPI Load isn't mandatory for STM32 builds.

Let's imply instead of select it to get rid of build
issues for non-SPI defconfigs.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 arch/arm/mach-stm32mp/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Patrice Chotard March 9, 2021, 1:51 p.m. UTC | #1
Hi Jagan

On 2/28/21 4:52 PM, Jagan Teki wrote:
> SPI Load isn't mandatory for STM32 builds.
> 
> Let's imply instead of select it to get rid of build
> issues for non-SPI defconfigs.
> 
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
>  arch/arm/mach-stm32mp/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
> index f538d7cb83..79ffd5191d 100644
> --- a/arch/arm/mach-stm32mp/Kconfig
> +++ b/arch/arm/mach-stm32mp/Kconfig
> @@ -16,13 +16,13 @@ config SPL
>  	select SPL_REGMAP
>  	select SPL_DM_RESET
>  	select SPL_SERIAL_SUPPORT
> -	select SPL_SPI_LOAD
>  	select SPL_SYSCON
>  	select SPL_WATCHDOG_SUPPORT if WATCHDOG
>  	imply BOOTSTAGE_STASH if SPL_BOOTSTAGE
>  	imply SPL_BOOTSTAGE if BOOTSTAGE
>  	imply SPL_DISPLAY_PRINT
>  	imply SPL_LIBDISK_SUPPORT
> +	imply SPL_SPI_LOAD
>  
>  config SYS_SOC
>  	default "stm32mp"
> 

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
Patrice
diff mbox series

Patch

diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index f538d7cb83..79ffd5191d 100644
--- a/arch/arm/mach-stm32mp/Kconfig
+++ b/arch/arm/mach-stm32mp/Kconfig
@@ -16,13 +16,13 @@  config SPL
 	select SPL_REGMAP
 	select SPL_DM_RESET
 	select SPL_SERIAL_SUPPORT
-	select SPL_SPI_LOAD
 	select SPL_SYSCON
 	select SPL_WATCHDOG_SUPPORT if WATCHDOG
 	imply BOOTSTAGE_STASH if SPL_BOOTSTAGE
 	imply SPL_BOOTSTAGE if BOOTSTAGE
 	imply SPL_DISPLAY_PRINT
 	imply SPL_LIBDISK_SUPPORT
+	imply SPL_SPI_LOAD
 
 config SYS_SOC
 	default "stm32mp"