tegra: Init clocks even when SPL did not run
[platform/kernel/u-boot.git] / arch / arm / mach-tegra / board2.c
index 84f1ee5..1e627ba 100644 (file)
@@ -191,6 +191,9 @@ void gpio_early_init(void) __attribute__((weak, alias("__gpio_early_init")));
 
 int board_early_init_f(void)
 {
+       if (!clock_early_init_done())
+               clock_early_init();
+
 #if defined(CONFIG_TEGRA_DISCONNECT_UDC_ON_BOOT)
 #define USBCMD_FS2 (1 << 15)
        {