]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/nvidia/seaboard/seaboard.c
dm: tegra: Enable driver model in SPL and adjust the GPIO driver
[karo-tx-uboot.git] / board / nvidia / seaboard / seaboard.c
index 11472ebaf20d1eb385457cf8745322460e7b94bc..25480e481d2dcc3c00f7055bed4e9b89cc242dc1 100644 (file)
 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