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

This function is deleted by commit 2fccd2d96bad "tegra: Convert tegra GPIO driver to use driver model".
Signed-off-by: Axel Lin axel.lin@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

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@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

On 5 March 2015 at 09:58, Stephen Warren swarren@wwwdotorg.org wrote:
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@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

On 5 March 2015 at 14:45, Simon Glass sjg@chromium.org wrote:
On 5 March 2015 at 09:58, Stephen Warren swarren@wwwdotorg.org wrote:
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@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
participants (3)
-
Axel Lin
-
Simon Glass
-
Stephen Warren