Skip to content
Snippets Groups Projects
Commit 37220efa authored by Simon Glass's avatar Simon Glass Committed by Tom Warren
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reported-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent a101638e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment