Skip to contentSkip to conversation

spl: Introduce SPL_DM_GPIO Kconfig define

PATCH New Lukasz Majewski 2 participants 2 messages Sep 3, 2019 – Sep 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spl: Introduce SPL_DM_GPIO Kconfig define

This define indicates if DM_GPIO shall be supported in SPL. This allows proper operation of DM converted GPIO drivers in SPL, which use #if !CONFIG_IS_ENABLED(DM_GPIO) to also support not yet DM/DTS converted boards.

---

 common/spl/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)
common/spl/Kconfig +6 -0
index 5b7667ea16..7c3391cabe 100644
@@ -458,6 +458,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
+	help
+	  Enable support for Driver Model based GPIO drivers in SPL.
+
 config SPL_DRIVERS_MISC_SUPPORT
 	bool "Support misc drivers"
 	help
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 spl: Introduce SPL_DM_GPIO Kconfig define

Quoted 6 lines · Lukasz Majewski

This define indicates if DM_GPIO shall be supported in SPL. This allows proper operation of DM converted GPIO drivers in SPL, which use #if !CONFIG_IS_ENABLED(DM_GPIO) to also support not yet DM/DTS converted boards.

Quoted 6 lines

---

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