On Mon, Dec 08, 2025 at 03:47:06PM -0500, Ralph Siemsen wrote:
> To reduce SPL size, make it possible to exclude designware driver,
> while keeping it enabled in the main u-boot.
> 
> Signed-off-by: Ralph Siemsen <[email protected]>
> ---
>  drivers/spi/Kconfig  | 8 ++++++++
>  drivers/spi/Makefile | 2 +-
>  2 files changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index 2afb15fff1e..94054ba39b0 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -223,6 +223,14 @@ config DESIGNWARE_SPI
>         access the SPI NOR flash on platforms embedding this Designware
>         IP core.
>  
> +config SPL_DESIGNWARE_SPI
> +     bool "Designware SPI driver in SPL"
> +     depends on SPL
> +     default y

Sorry I wasn't clear on IRC, this should be default y if DESIGNWARE_SPI
so that only platforms which already had been enabling it will continue
to enable it.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to