]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
ARM: tegra: Initialize timer earlier
authorThierry Reding <treding@nvidia.com>
Tue, 28 Jul 2015 09:35:53 +0000 (11:35 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:50:53 +0000 (13:50 +0200)
commit35e6b50c08cda2d786b39971518b218ad1ebfabc
treed2118bdad6545a8c82ca0f1021bf3e698b51e9a2
parente7c6ee43c439069bba0d686cbb17f94789d78e3e
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>
arch/arm/mach-tegra/board2.c
arch/arm/mach-tegra/clock.c