[U-Boot] [PATCH] spl: Introduce SPL_DM_SPI Kconfig define
lukma at denx.de
Mon Sep 9 10:06:46 UTC 2019
This define indicates if DM_SPI shall be supported in SPL. This allows
proper operation of DM converted SPI drivers in SPL, which use
#if !CONFIG_IS_ENABLED(DM_SPI) to also support not yet DM/DTS converted
Signed-off-by: Lukasz Majewski <lukma at denx.de>
Applied on top of -master branch:
This patch is a first step for converting SPI #defines to Kconfig.
It was a part of "CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*" patch:
which in spite of not introducing the apparent build breaks, was
responsible for some deltas in SPL and U-Boot proper sizes (some parts of
SPI code was not compiled in). To fix those board/SoC access to real HW is
necessary as well as deep understanding of SPL SPI requirements.
common/spl/Kconfig | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 7c3391cabe..183ecf6264 100644
@@ -683,6 +683,13 @@ config SPL_UBI
Enable support for loading payloads from UBI. See
README.ubispl for more info.
+ bool "Support SPI DM drivers in SPL"
+ Enable support for SPI DM drivers in SPL.
bool "Support loading volumes by name"
More information about the U-Boot