public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] spl: Introduce SPL_DM_GPIO Kconfig define
@ 2019-09-29 15:54 Lukasz Majewski
  2019-10-09  9:02 ` Lukasz Majewski
  0 siblings, 1 reply; 8+ messages in thread
From: Lukasz Majewski @ 2019-09-29 15:54 UTC (permalink / raw)
  To: u-boot

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>
---

Changes in v2:
- Add dependency on DM_GPIO

 common/spl/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index f467eca2be..e3df8efa7e 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -452,6 +452,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
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-12-27 16:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-29 15:54 [U-Boot] [PATCH v2] spl: Introduce SPL_DM_GPIO Kconfig define Lukasz Majewski
2019-10-09  9:02 ` Lukasz Majewski
2019-10-11 23:01   ` Simon Glass
2019-10-14 12:41     ` Lukasz Majewski
2019-10-16  3:40       ` Simon Glass
2019-11-17 20:37         ` Lukasz Majewski
2019-11-17 20:54           ` Lukasz Majewski
2019-12-27 16:42             ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox