[U-Boot] [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO

This CONFIG is not used, so drop it.
Signed-off-by: Simon Glass sjg@chromium.org ---
include/configs/seaboard.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 5f77051..44daadc 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -27,9 +27,6 @@ #define CONFIG_TEGRA_ENABLE_UARTD #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
-/* On Seaboard: GPIO_PI3 = Port I = 8, bit = 3 */ -#define CONFIG_UART_DISABLE_GPIO GPIO_PI3 - #define CONFIG_MACH_TYPE MACH_TYPE_SEABOARD
#define CONFIG_BOARD_EARLY_INIT_F

Requesting a GPIO without a name is not supposed anymore. This causes the request to fail. Add a name so that the serial console works on seaboard.
Signed-off-by: Simon Glass sjg@chromium.org ---
board/nvidia/seaboard/seaboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c index 25480e4..2d07001 100644 --- a/board/nvidia/seaboard/seaboard.c +++ b/board/nvidia/seaboard/seaboard.c @@ -20,7 +20,7 @@ void gpio_early_init_uart(void) { /* Enable UART via GPIO_PI3 (port 8, bit 3) so serial console works */ - gpio_request(GPIO_PI3, NULL); + gpio_request(GPIO_PI3, "uart_en"); gpio_direction_output(GPIO_PI3, 0); } #endif

Let's try this:
Reported-by: Stephen Warren swarren@nvidia.com
On 9 March 2015 at 19:12, Simon Glass sjg@chromium.org wrote:
Requesting a GPIO without a name is not supposed anymore. This causes the request to fail. Add a name so that the serial console works on seaboard.
Signed-off-by: Simon Glass sjg@chromium.org
board/nvidia/seaboard/seaboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c index 25480e4..2d07001 100644 --- a/board/nvidia/seaboard/seaboard.c +++ b/board/nvidia/seaboard/seaboard.c @@ -20,7 +20,7 @@ void gpio_early_init_uart(void) { /* Enable UART via GPIO_PI3 (port 8, bit 3) so serial console works */
gpio_request(GPIO_PI3, NULL);
gpio_request(GPIO_PI3, "uart_en"); gpio_direction_output(GPIO_PI3, 0);
}
#endif
2.2.0.rc0.207.ga3a616c

Hi Tom,
On 9 March 2015 at 19:16, Simon Glass sjg@chromium.org wrote:
Let's try this:
Reported-by: Stephen Warren swarren@nvidia.com
On 9 March 2015 at 19:12, Simon Glass sjg@chromium.org wrote:
Requesting a GPIO without a name is not supposed anymore. This causes the request to fail. Add a name so that the serial console works on seaboard.
Signed-off-by: Simon Glass sjg@chromium.org
Can you please apply this fix?
board/nvidia/seaboard/seaboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c index 25480e4..2d07001 100644 --- a/board/nvidia/seaboard/seaboard.c +++ b/board/nvidia/seaboard/seaboard.c @@ -20,7 +20,7 @@ void gpio_early_init_uart(void) { /* Enable UART via GPIO_PI3 (port 8, bit 3) so serial console works */
gpio_request(GPIO_PI3, NULL);
gpio_request(GPIO_PI3, "uart_en"); gpio_direction_output(GPIO_PI3, 0);
}
#endif
2.2.0.rc0.207.ga3a616c
Regards, Simon

On 03/09/2015 07:12 PM, Simon Glass wrote:
This CONFIG is not used, so drop it.
The series, Tested-by: Stephen Warren swarren@wwwdotorg.org Acked-by: Stephen Warren swarren@wwwdotorg.org

Hi Tom,
On 9 March 2015 at 20:49, Stephen Warren swarren@wwwdotorg.org wrote:
On 03/09/2015 07:12 PM, Simon Glass wrote:
This CONFIG is not used, so drop it.
The series, Tested-by: Stephen Warren swarren@wwwdotorg.org Acked-by: Stephen Warren swarren@wwwdotorg.org
Can you please apply this fix?
Regards, Simon

Simon,
This series applied to u-boot-tegra/next locally. I've got to look at some patches from Marcel to see if they've been ACK'd. Once I've collected any other pending patches, I'll push a new /next to Denx.
Tom
-----Original Message----- From: sjg@google.com [mailto:sjg@google.com] On Behalf Of Simon Glass Sent: Sunday, March 29, 2015 6:10 AM To: Stephen Warren Cc: U-Boot Mailing List; Tom Warren; Stephen Warren Subject: Re: [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO
Hi Tom,
On 9 March 2015 at 20:49, Stephen Warren swarren@wwwdotorg.org wrote:
On 03/09/2015 07:12 PM, Simon Glass wrote:
This CONFIG is not used, so drop it.
The series, Tested-by: Stephen Warren swarren@wwwdotorg.org Acked-by: Stephen Warren swarren@wwwdotorg.org
Can you please apply this fix?
Regards, Simon
----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------

Hi Tom,
On 30 March 2015 at 11:02, Tom Warren TWarren@nvidia.com wrote:
Simon,
This series applied to u-boot-tegra/next locally. I've got to look at some patches from Marcel to see if they've been ACK'd. Once I've collected any other pending patches, I'll push a new /next to Denx.
Thanks - also what do you think about applying the Nyan display patches? They work fine on my board, but apparently they are not perfect. Still it might be better than letting them sit. I can rebase and resend.
Regards, Simon
Tom
-----Original Message----- From: sjg@google.com [mailto:sjg@google.com] On Behalf Of Simon Glass Sent: Sunday, March 29, 2015 6:10 AM To: Stephen Warren Cc: U-Boot Mailing List; Tom Warren; Stephen Warren Subject: Re: [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO
Hi Tom,
On 9 March 2015 at 20:49, Stephen Warren swarren@wwwdotorg.org wrote:
On 03/09/2015 07:12 PM, Simon Glass wrote:
This CONFIG is not used, so drop it.
The series, Tested-by: Stephen Warren swarren@wwwdotorg.org Acked-by: Stephen Warren swarren@wwwdotorg.org
Can you please apply this fix?
Regards, Simon
This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

If you want to rework them against current u-boot-tegra/master and resend, I'll apply them, and maybe get a chance later this week to test them on my Nyan. Thanks.
-----Original Message----- From: sjg@google.com [mailto:sjg@google.com] On Behalf Of Simon Glass Sent: Monday, March 30, 2015 10:15 AM To: Tom Warren Cc: Stephen Warren; U-Boot Mailing List; Stephen Warren Subject: Re: [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO
Hi Tom,
On 30 March 2015 at 11:02, Tom Warren TWarren@nvidia.com wrote:
Simon,
This series applied to u-boot-tegra/next locally. I've got to look at some
patches from Marcel to see if they've been ACK'd. Once I've collected any other pending patches, I'll push a new /next to Denx.
Thanks - also what do you think about applying the Nyan display patches? They work fine on my board, but apparently they are not perfect. Still it might be better than letting them sit. I can rebase and resend.
Regards, Simon
Tom
-----Original Message----- From: sjg@google.com [mailto:sjg@google.com] On Behalf Of Simon Glass Sent: Sunday, March 29, 2015 6:10 AM To: Stephen Warren Cc: U-Boot Mailing List; Tom Warren; Stephen Warren Subject: Re: [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO
Hi Tom,
On 9 March 2015 at 20:49, Stephen Warren swarren@wwwdotorg.org wrote:
On 03/09/2015 07:12 PM, Simon Glass wrote:
This CONFIG is not used, so drop it.
The series, Tested-by: Stephen Warren swarren@wwwdotorg.org Acked-by: Stephen Warren swarren@wwwdotorg.org
Can you please apply this fix?
Regards, Simon
------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

Hi Tom,
On 30 March 2015 at 12:05, Tom Warren TWarren@nvidia.com wrote:
If you want to rework them against current u-boot-tegra/master and resend, I'll apply them, and maybe get a chance later this week to test them on my Nyan. Thanks.
Thanks - I'm rebasing this now and waiting for buildman.
Regards, Simon
-----Original Message----- From: sjg@google.com [mailto:sjg@google.com] On Behalf Of Simon Glass Sent: Monday, March 30, 2015 10:15 AM To: Tom Warren Cc: Stephen Warren; U-Boot Mailing List; Stephen Warren Subject: Re: [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO
Hi Tom,
On 30 March 2015 at 11:02, Tom Warren TWarren@nvidia.com wrote:
Simon,
This series applied to u-boot-tegra/next locally. I've got to look at some
patches from Marcel to see if they've been ACK'd. Once I've collected any other pending patches, I'll push a new /next to Denx.
Thanks - also what do you think about applying the Nyan display patches? They work fine on my board, but apparently they are not perfect. Still it might be better than letting them sit. I can rebase and resend.
Regards, Simon
Tom
-----Original Message----- From: sjg@google.com [mailto:sjg@google.com] On Behalf Of Simon Glass Sent: Sunday, March 29, 2015 6:10 AM To: Stephen Warren Cc: U-Boot Mailing List; Tom Warren; Stephen Warren Subject: Re: [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO
Hi Tom,
On 9 March 2015 at 20:49, Stephen Warren swarren@wwwdotorg.org wrote:
On 03/09/2015 07:12 PM, Simon Glass wrote:
This CONFIG is not used, so drop it.
The series, Tested-by: Stephen Warren swarren@wwwdotorg.org Acked-by: Stephen Warren swarren@wwwdotorg.org
Can you please apply this fix?
Regards, Simon
------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
participants (3)
-
Simon Glass
-
Stephen Warren
-
Tom Warren