diff options
author | Tom Warren <twarren@nvidia.com> | 2013-04-01 22:48:54 (GMT) |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2013-04-15 18:01:38 (GMT) |
commit | b40f734af9fdc47a0993f1f94f32d40a86f30587 (patch) | |
tree | 21ba340509d52b689be86e0b6dd48ad7e75978b0 /arch/arm/include/asm/arch-tegra | |
parent | d0edce4fa394325a0ccfd38a5d668fb5ee1af34d (diff) | |
download | u-boot-fsl-qoriq-b40f734af9fdc47a0993f1f94f32d40a86f30587.tar.xz |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-tegra')
-rw-r--r-- | arch/arm/include/asm/arch-tegra/clock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra/clock.h b/arch/arm/include/asm/arch-tegra/clock.h index c8677bd..c7a696c 100644 --- a/arch/arm/include/asm/arch-tegra/clock.h +++ b/arch/arm/include/asm/arch-tegra/clock.h @@ -317,4 +317,7 @@ int clock_set_rate(enum clock_id clkid, u32 n, u32 m, u32 p, u32 cpcon); #define periphc_internal_id_isvalid(id) ((id) >= 0 && \ (id) < PERIPHC_COUNT) +/* SoC-specific TSC init */ +void arch_timer_init(void); + #endif /* _TEGRA_CLOCK_H_ */ |