[U-Boot] [PATCH] common: add CMD_GPIO to Kconfig

Simon Glass sjg at chromium.org
Fri Sep 25 16:55:13 CEST 2015


Hi Thomas,

On 24 September 2015 at 01:44, Thomas Chou <thomas at wytron.com.tw> wrote:
>
> Add CMD_GPIO to Kconfig.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> ---
>  common/Kconfig | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/common/Kconfig b/common/Kconfig
> index 2c42b8e..f2034c2 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -344,6 +344,11 @@ config CMD_FPGA
>         help
>           FPGA support.
>
> +config CMD_GPIO
> +       bool "gpio"
> +       help
> +         GPIO support.
> +
>  endmenu

You can use the moveconfig.py tool to move configs into Kconfig. You
could do that with your patch applied, and create a patch to remove
the old #defines from board configs. I think this should be done at
the same time as we add new Kconfigs, to avoid confusion.

Regards,
Simon


More information about the U-Boot mailing list