[U-Boot] [PATCH] tegra: Remove tegra_spl_gpio_direction_output declaration from header file

Stephen Warren swarren at wwwdotorg.org
Thu Mar 5 17:58:25 CET 2015


On 03/05/2015 03:40 AM, Axel Lin wrote:
> This function is deleted by commit 2fccd2d96bad
> "tegra: Convert tegra GPIO driver to use driver model".

I think you want to send this to Tom Warren (who as Tegra maintainer 
would apply it) and whoever wrote the commit you're fixing (Simon Glass 
I would assume given the description). I've CC'd them so they see the patch.

>
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> ---
>   arch/arm/include/asm/arch-tegra/gpio.h | 9 ---------
>   1 file changed, 9 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-tegra/gpio.h b/arch/arm/include/asm/arch-tegra/gpio.h
> index 7334e0c..daf5698 100644
> --- a/arch/arm/include/asm/arch-tegra/gpio.h
> +++ b/arch/arm/include/asm/arch-tegra/gpio.h
> @@ -28,15 +28,6 @@ struct tegra_gpio_config {
>   };
>
>   /**
> - * tegra_spl_gpio_direction_output() - set the output value of a GPIO
> - *
> - * This function is only used from SPL on seaboard, which needs to enable a
> - * GPIO to get the UART running. It could be done in U-Boot rather than SPL,
> - * but for now, this gets it working
> - */
> -int tegra_spl_gpio_direction_output(int gpio, int value);
> -
> -/**
>    * Configure a list of GPIOs
>    *
>    * @param config	List of GPIO configurations
>



More information about the U-Boot mailing list