spl: Introduce SPL_DM_GPIO Kconfig define
PATCH RESEND v2 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 boards.
Signed-off-by Lukasz Majewski <[email protected]>
---
Changes in v2:
- Add dependency on DM_GPIO
Note:
- Board which is using DM_GPIO in SPL with OF_PLATDATA (XEA - i.MX28) depends on this Kconfig define. Only after it is in - it can be added without compiler errors.
--- common/spl/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
common/spl/Kconfig +6 -0
@@ -485,6 +485,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
Signature · 1 line
2.20.1
PATCH RESEND v2 1/1 spl: Introduce SPL_DM_GPIO Kconfig define
Quoted 5 lines · Lukasz Majewski
This define indicates if
DM_GPIOshall be supported in SPL. This allows proper operation of DM converted GPIO drivers in SPL, which use boards.Signed-off-by Lukasz Majewski <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191205/faa4e93a/attachment.sig>