[U-Boot] [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define

Peng Fan peng.fan at nxp.com
Mon Aug 19 01:30:05 UTC 2019


> Subject: [PATCH v2 8/9] 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.
> 
> Signed-off-by: Lukasz Majewski <lukma at denx.de>
> ---
> 
> Changes in v2:
> - New patch
> 
>  common/spl/Kconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig index
> 44c5ab61ec..0a3877ec28 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -430,6 +430,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

Reviewed-by: Peng Fan <peng.fan at nxp.com>

> --
> 2.11.0



More information about the U-Boot mailing list