diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-12-02 10:24:16 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-05 10:28:38 -0500 |
commit | d4d65e1125459c8e8286684c8e84fdc7df9da062 (patch) | |
tree | 908aa4f9bc66b67e78721456c36b37a67aa63f43 /common | |
parent | a6cd597a78dd9b7fcaba6fe4891f29e86646541b (diff) | |
download | u-boot-d4d65e1125459c8e8286684c8e84fdc7df9da062.zip u-boot-d4d65e1125459c8e8286684c8e84fdc7df9da062.tar.gz u-boot-d4d65e1125459c8e8286684c8e84fdc7df9da062.tar.bz2 |
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 <lukma@denx.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index e11faae..c8cb715 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -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 |