]> git.dujemihanovic.xyz Git - u-boot.git/commit
p2371: Remove hard-coded counter frequency
authorThierry Reding <treding@nvidia.com>
Thu, 20 Aug 2015 09:42:22 +0000 (11:42 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 16 Sep 2015 23:10:23 +0000 (16:10 -0700)
commitca2d6dc25e9bbe623e3cf1467fa0b3ce4a7b70a8
treec16ef7ef6fa250f879473f959d7a59804ce6b37d
parent95bdf6469d651076fde0e63a78024e1786a7485d
p2371: Remove hard-coded counter frequency

The counter frequency is derived from clk_m on Tegra, but that clock can
be configured by the primary bootloader to run at the same frequency as
the oscillator (38.4 MHz on Tegra210) or a divided down frequency (most
typically 19.2 MHz). Remove the hard-coded frequency and allow the timer
setup code to query the correct value at runtime.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/p2371-0000.h