[coreboot-gerrit] New patch to review for coreboot: b2570a0 exynos5250: Add mct_start to the timer init blob in timer_monotonic_get

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Dec 3 23:56:01 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4419

-gerrit

commit b2570a0a3f3832c060a1e7270bd4e0d1825de6e8
Author: Gabe Black <gabeblack at 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 at google.com>
    Reviewed-on: https://gerrit.chromium.org/gerrit/64160
    Reviewed-by: Ronald G. Minnich <rminnich at chromium.org>
    Commit-Queue: Gabe Black <gabeblack at chromium.org>
    Tested-by: Gabe Black <gabeblack at 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;
 	}



More information about the coreboot-gerrit mailing list