diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-09-09 13:06:46 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-11 22:33:27 +0300 |
commit | f18845c27ad86e118b074ce545ce685cb9a97561 (patch) | |
tree | 0b1fc85524679cae40a6f318e910bc4e30a7aa02 /common/spl | |
parent | 57bbf44de6db8408e2b368475ca33dab3bab638a (diff) | |
download | u-boot-f18845c27ad86e118b074ce545ce685cb9a97561.tar.xz |
spl: Introduce SPL_DM_SPI Kconfig define
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
boards.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'common/spl')
-rw-r--r-- | common/spl/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 7862a0128c..562eafe2e5 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -697,6 +697,13 @@ config SPL_UBI Enable support for loading payloads from UBI. See README.ubispl for more info. +if SPL_DM +config SPL_DM_SPI + bool "Support SPI DM drivers in SPL" + help + Enable support for SPI DM drivers in SPL. + +endif if SPL_UBI config SPL_UBI_LOAD_BY_VOLNAME bool "Support loading volumes by name" |