summaryrefslogtreecommitdiff
path: root/board/nvidia
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-09 19:12:57 -0600
committerTom Warren <twarren@nvidia.com>2015-03-30 09:59:58 -0700
commit37220efab846ece7cdfc7a8fba3d8294adc6093d (patch)
tree46bfcea8c5fa4cc66374ff77b075b28473bde489 /board/nvidia
parenta101638ece27fe8c4b42c654c047d0eacc92b1a8 (diff)
downloadu-boot-imx-37220efab846ece7cdfc7a8fba3d8294adc6093d.zip
u-boot-imx-37220efab846ece7cdfc7a8fba3d8294adc6093d.tar.gz
u-boot-imx-37220efab846ece7cdfc7a8fba3d8294adc6093d.tar.bz2
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>
Diffstat (limited to 'board/nvidia')
-rw-r--r--board/nvidia/seaboard/seaboard.c2
1 files changed, 1 insertions, 1 deletions
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