dm: tegra: Enable driver model in SPL and adjust the GPIO driver
[platform/kernel/u-boot.git] / board / nvidia / seaboard / seaboard.c
index 11472eb..25480e4 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