]> git.sur5r.net Git - u-boot/commit
ARM: tegra: fix COUNTER_FREQUENCY for T210
authorStephen Warren <swarren@nvidia.com>
Wed, 19 Aug 2015 21:15:41 +0000 (15:15 -0600)
committerTom Warren <twarren@nvidia.com>
Wed, 16 Sep 2015 23:10:22 +0000 (16:10 -0700)
commitbfac08472371d4d6d4fa56972b0e1166f780633a
tree7ca7ad2530ef0ab2e51164021d00c25f050618a0
parenta6b2daffdedf0664f7b49eb20c81f1adada6bd51
ARM: tegra: fix COUNTER_FREQUENCY for T210

While T210 boards all have 38.4MHz crystals, per the TRM, the only
supported configuration is to divide the crystal frequency by 2 to
generate clk_m, which is what feeds the ARM generic timers amongst other
things. Fix the value of COUNTER_FREQUENCY to reflect this divide-by-2.

When I queried the 19.2 value in Tom's original T210 patches, I wasn't
aware of this extra divide-by-2, and didn't notice any effect from the
incorrect value, since its only used if U-Boot is booted in EL3, whereas
I'm booting it in EL2.

Reported-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/e2220-1170.h
include/configs/p2371-0000.h
include/configs/p2371-2180.h
include/configs/p2571.h