mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
tegra: seaboard: Correct the gpio_request() call
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> Reported-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
a101638ece
commit
37220efab8
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
void gpio_early_init_uart(void)
|
void gpio_early_init_uart(void)
|
||||||
{
|
{
|
||||||
/* Enable UART via GPIO_PI3 (port 8, bit 3) so serial console works */
|
/* 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);
|
gpio_direction_output(GPIO_PI3, 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue