]> git.dujemihanovic.xyz Git - u-boot.git/commit
Tegra114: Initialize System Counter (TSC) with osc frequency
authorTom Warren <twarren@nvidia.com>
Mon, 1 Apr 2013 22:48:54 +0000 (15:48 -0700)
committerTom Warren <twarren@nvidia.com>
Mon, 15 Apr 2013 18:01:38 +0000 (11:01 -0700)
commitb40f734af9fdc47a0993f1f94f32d40a86f30587
tree21ba340509d52b689be86e0b6dd48ad7e75978b0
parentd0edce4fa394325a0ccfd38a5d668fb5ee1af34d
Tegra114: Initialize System Counter (TSC) with osc frequency

T114 needs the SYSCTR0 counter initialized so the TSC can be
read by the kernel. Do it in the bootloader since it's a write-once
deal (secure/non-secure mode dependent).

Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
arch/arm/cpu/tegra-common/clock.c
arch/arm/cpu/tegra114-common/clock.c
arch/arm/cpu/tegra20-common/clock.c
arch/arm/cpu/tegra30-common/clock.c
arch/arm/include/asm/arch-tegra/clock.h
arch/arm/include/asm/arch-tegra114/sysctr.h [new file with mode: 0644]
arch/arm/include/asm/arch-tegra114/tegra.h