Patrick Georgi (patrick@georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4419
-gerrit
commit f6d868a8b49c9801e016eb07834deeceeff02dcc Author: Gabe Black gabeblack@google.com Date: Wed Jul 31 22:50:21 2013 -0700
exynos5250: Add mct_start to the timer init blob in timer_monotonic_get
A previous change removed init_timer from timer_monotonic_get because its old implementation set up the PWM based timer which was going away. It would still be a good idea to initialize the timer at that point, just not the pwm.
Change-Id: I4816710ec2c9d5ca53b704c6b9397bcfac183fdc Signed-off-by: Gabe Black gabeblack@google.com Reviewed-on: https://gerrit.chromium.org/gerrit/64160 Reviewed-by: Ronald G. Minnich rminnich@chromium.org Commit-Queue: Gabe Black gabeblack@chromium.org Tested-by: Gabe Black gabeblack@chromium.org --- src/cpu/samsung/exynos5250/monotonic_timer.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/cpu/samsung/exynos5250/monotonic_timer.c b/src/cpu/samsung/exynos5250/monotonic_timer.c index d46d02a..57e3ae3 100644 --- a/src/cpu/samsung/exynos5250/monotonic_timer.c +++ b/src/cpu/samsung/exynos5250/monotonic_timer.c @@ -37,6 +37,7 @@ void timer_monotonic_get(struct mono_time *mt) uint64_t usecs_elapsed;
if (!mono_counter.initialized) { + mct_start(); mono_counter.last_value = mct_raw_value(); mono_counter.initialized = 1; }