diff options
author | David Hendricks <dhendrix@chromium.org> | 2013-05-02 16:47:54 -0700 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-05-03 17:27:28 +0200 |
commit | 2fde9668b47e74d1bfad2f1688a4481e6b966d04 (patch) | |
tree | 33ab1f516226c77aaad5e97659ef58ae30d02a29 /src/mainboard/google | |
parent | 37714f33a6ac922c8e3a8e5761c0c7ac505acad1 (diff) | |
download | coreboot-staging-2fde9668b47e74d1bfad2f1688a4481e6b966d04.zip coreboot-staging-2fde9668b47e74d1bfad2f1688a4481e6b966d04.tar.gz |
exynos5250/snow: deprecate time.h
time.h We Hardly Knew Ye.
This deprecates time.h which is currently only used by Exynos5250 and
Snow. The original idea was to try and unify some of the various timer
interfaces and has been supplanted by the monotonic timer API.
timer_us() is now obsolete. timer_start() is now mct_start() and
is exposed in exynos5250/clk.h.
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: I14ebf75649d101491252c9aafea12f73ccf446b5
Reviewed-on: http://review.coreboot.org/3177
Reviewed-by: Aaron Durbin <adurbin@google.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/snow/bootblock.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/snow/romstage.c | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/mainboard/google/snow/bootblock.c b/src/mainboard/google/snow/bootblock.c index 4464042..56c2650 100644 --- a/src/mainboard/google/snow/bootblock.c +++ b/src/mainboard/google/snow/bootblock.c @@ -21,8 +21,8 @@ #include <arch/io.h> #include <cbfs.h> #include <uart.h> -#include <time.h> #include <console/console.h> +#include <cpu/samsung/exynos5250/clk.h> #include <cpu/samsung/exynos5250/periph.h> #include <cpu/samsung/exynos5250/pinmux.h> #include "mainboard.h" @@ -30,10 +30,10 @@ void bootblock_mainboard_init(void); void bootblock_mainboard_init(void) { - /* kick off the microsecond timer. + /* kick off the multi-core timer. * We want to do this as early as we can. */ - timer_start(); + mct_start(); if (snow_get_wakeup_state() == SNOW_WAKEUP_DIRECT) { snow_wakeup(); diff --git a/src/mainboard/google/snow/romstage.c b/src/mainboard/google/snow/romstage.c index aa3a340..508dac6 100644 --- a/src/mainboard/google/snow/romstage.c +++ b/src/mainboard/google/snow/romstage.c @@ -36,7 +36,6 @@ #include <cpu/samsung/exynos5250/clock_init.h> #include <console/console.h> #include <arch/stages.h> -#include <time.h> #include <drivers/maxim/max77686/max77686.h> #include <device/i2c.h> |