[U-Boot] [PATCH 16/60] ARM: tegra: migrate TEGRA_GPIO to Kconfig

Simon Glass
2016-04-20T19:26:32Z

On 19 April 2016 at 14:58, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> All configuration is migrating to Kconfig. This moves one piece.
>
> TEGRA_GPIO is default y since it's almost certain to be needed, and this
> setting matches the stanza removed from the config header file.
>
> CONFIG_HAS_TEGRA_GPIO is introduced so that drivers/gpio/Kconfig doesn't
> have to know which Tegra chips contain this GPIO controller, thus
> isolating such knowledge into mach-tegra/Kconfig. All currently supported
> chips do, but the next chip contains a different GPIO controller and hence
> requires a different driver.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> arch/arm/mach-tegra/Kconfig | 5 +++++
> drivers/gpio/Kconfig | 8 ++++++++
> include/configs/tegra-common.h | 1 -
> 3 files changed, 13 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>