]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/mach-tegra/board2.c
ARM: tegra: Initialize timer earlier
[people/ms/u-boot.git] / arch / arm / mach-tegra / board2.c
index e0d8687cbcface59f107f1d1a11157824ba6e34f..36bcfb04c02149ae7b21cf9972c013ed1521e92b 100644 (file)
@@ -196,6 +196,12 @@ void gpio_early_init(void) __attribute__((weak, alias("__gpio_early_init")));
 
 int board_early_init_f(void)
 {
+       /* Do any special system timer/TSC setup */
+#if defined(CONFIG_TEGRA_SUPPORT_NON_SECURE)
+       if (!tegra_cpu_is_non_secure())
+#endif
+               arch_timer_init();
+
        pinmux_init();
        board_init_uart_f();