summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-03 08:02:59 -0700
committerTom Rini <trini@konsulko.com>2015-03-04 14:55:04 -0500
commitbdfb34167f73afc7e04d52499fc14bc1cd33fec0 (patch)
tree34c57b1a3fd77b12f7488fa78a9195b1f960d648 /board
parentfc8fdc76e72e4ea57a7257e7054ca1a3b0966d34 (diff)
downloadu-boot-imx-bdfb34167f73afc7e04d52499fc14bc1cd33fec0.zip
u-boot-imx-bdfb34167f73afc7e04d52499fc14bc1cd33fec0.tar.gz
u-boot-imx-bdfb34167f73afc7e04d52499fc14bc1cd33fec0.tar.bz2
dm: tegra: Enable driver model in SPL and adjust the GPIO driver
Use the full driver model GPIO and serial drivers in SPL now that these are supported. Since device tree is not available they will use platform data. Remove the special SPL GPIO function as it is no longer needed. This is all in one commit to maintain bisectability. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/nvidia/seaboard/seaboard.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c
index 11472eb..25480e4 100644
--- a/board/nvidia/seaboard/seaboard.c
+++ b/board/nvidia/seaboard/seaboard.c
@@ -20,10 +20,8 @@
void gpio_early_init_uart(void)
{
/* Enable UART via GPIO_PI3 (port 8, bit 3) so serial console works */
-#ifndef CONFIG_SPL_BUILD
gpio_request(GPIO_PI3, NULL);
-#endif
- tegra_spl_gpio_direction_output(GPIO_PI3, 0);
+ gpio_direction_output(GPIO_PI3, 0);
}
#endif