From 6ada053709f24675bda1b3598e86426a712d63f9 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 11 Sep 2013 15:18:14 -0700 Subject: Exynos: de-duplicate mct timer initialization timer initialization is the first thing happening in the Exynos CPU's bootblock code. Hence we don't need to keep track of it in several places, and we don't need to do it over and over again (e.g. in each stage) Change-Id: I7bd9a0b7930fc9c37faabd62e3eecc3e5614a879 Signed-off-by: Stefan Reinauer Reviewed-on: https://chromium-review.googlesource.com/168994 Reviewed-by: Stefan Reinauer Commit-Queue: Stefan Reinauer Tested-by: Stefan Reinauer (cherry picked from commit 5a95bc2bcab5a92c5e6c144005861bf731f59de3) Signed-off-by: Isaac Christensen Reviewed-on: http://review.coreboot.org/6638 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/cpu/samsung/exynos5420/timer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cpu/samsung/exynos5420/timer.c') diff --git a/src/cpu/samsung/exynos5420/timer.c b/src/cpu/samsung/exynos5420/timer.c index f8d3110000..ae13342c92 100644 --- a/src/cpu/samsung/exynos5420/timer.c +++ b/src/cpu/samsung/exynos5420/timer.c @@ -25,7 +25,9 @@ void init_timer(void) { - mct_start(); + /* Nothing to do because we manually + * call mct_start() in the bootblock + */ } /* delay x useconds */ -- cgit v1.2.3