summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-09-29 17:54:41 +0200
committerTom Rini <trini@konsulko.com>2019-10-11 18:07:29 -0400
commita1819a00bdba67da9fa2f157ea7954e72df806fb (patch)
treef1f5a89ee28e3233754b6f2f557b2bcd137af89d
parent71fcd2caa4c4bffa09b8e4c487b61250e19d7bb9 (diff)
downloadu-boot-WIP/2019-10-11-master-imports.tar.gz
spl: Introduce SPL_DM_GPIO Kconfig defineWIP/2019-10-11-master-imports
This define indicates if DM_GPIO shall be supported in SPL. This allows proper operation of DM converted GPIO drivers in SPL, which use boards. Signed-off-by: Lukasz Majewski <lukma@denx.de>
-rw-r--r--common/spl/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 562eafe2e5..d2fdfbe252 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -469,6 +469,12 @@ config SPL_DMA_SUPPORT
the CPU moving the data. Enable this option to build the drivers
in drivers/dma as part of an SPL build.
+config SPL_DM_GPIO
+ bool "Support Driver Model GPIO drivers"
+ depends on SPL_GPIO_SUPPORT && DM_GPIO
+ help
+ Enable support for Driver Model based GPIO drivers in SPL.
+
config SPL_DRIVERS_MISC_SUPPORT
bool "Support misc drivers"
help