]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: stm32: Imply SPL_SPI_LOAD
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Mar 2021 16:22:02 +0000 (21:52 +0530)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 9 Apr 2021 09:53:00 +0000 (11:53 +0200)
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.

Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/mach-stm32mp/Kconfig

index 079d66a80c1d32262cc0d843386cdf89e37af436..4f5e69360cf09656b0211f9a2fbf90cd76c26f05 100644 (file)
@@ -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 if SPL_SPI_SUPPORT
 
 config SYS_SOC
        default "stm32mp"