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

Simon Glass sjg at chromium.org
Wed Apr 20 21:26:32 CEST 2016


On 19 April 2016 at 14:58, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at 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 at 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 at chromium.org>


More information about the U-Boot mailing list