diff options
author | Thierry Reding <treding@nvidia.com> | 2015-07-28 11:35:53 +0200 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-07-28 10:30:18 -0700 |
commit | aa4418770ef9c143b0027e5038c690539b0ebb1a (patch) | |
tree | 60ff9ae9c218eeda8c103dcc44dc8ab9f21a0d2f /arch/arm/mach-tegra/clock.c | |
parent | 6527268d6e8628cd121376fd0ceed2be81ebd64f (diff) | |
download | u-boot-aa4418770ef9c143b0027e5038c690539b0ebb1a.tar.gz |
ARM: tegra: Initialize timer earlier
A subsequent patch will enable the use of the architected timer on
ARMv8. Doing so implies that udelay() will be backed by this timer
implementation, and hence the architected timer must be ready when
udelay() is first called. The first time udelay() is used is while
resetting the debug UART, which happens very early. Make sure that
arch_timer_init() is called before that.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock.c')
-rw-r--r-- | arch/arm/mach-tegra/clock.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index 24047b8c82..5c963d372f 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c @@ -608,12 +608,6 @@ void clock_init(void) debug("PLLC = %d\n", pll_rate[CLOCK_ID_CGENERAL]); debug("PLLD = %d\n", pll_rate[CLOCK_ID_DISPLAY]); debug("PLLX = %d\n", pll_rate[CLOCK_ID_XCPU]); - - /* Do any special system timer/TSC setup */ -#if defined(CONFIG_TEGRA_SUPPORT_NON_SECURE) - if (!tegra_cpu_is_non_secure()) -#endif - arch_timer_init(); } static void set_avp_clock_source(u32 src) |