[PATCH] spi: designware: Allow disabling designware driver in SPL
Tom Rini
trini at konsulko.com
Mon Dec 8 22:10:13 CET 2025
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 <ralph.siemsen at linaro.org>
> ---
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251208/732d9a3f/attachment.sig>
More information about the U-Boot
mailing list