coreboot/src/mainboard/google
Ronald G. Minnich 5a734168ee Exynos5250: add a microsecond timer
Add a microsecond timer, its declaration, the function to start it,
and its usage.  To start it, one calls timer_start().  From that point
on, one can call timer_us() to find microseconds since the timer was
started.

We show its use in the bootblock. You want it started very early.

Finally, the delay.h change having been (ironically) delayed, we
create time.h and have it hold one declaration, for the timer_us() and
timer_start() prototype.

We feel that these two functions should become the hardware specific
functions, allowing us to finally move udelay() into src/lib where it
belongs.

Change-Id: I19cbc2bb0089a3de88cfb94276266af38b9363c5
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/3073
Tested-by: build bot (Jenkins)
2013-04-30 18:24:41 -07:00
..
butterfly smi: Update mainboard_smi_gpi() to have 32bit argument 2013-04-30 13:47:43 -07:00
link smi: Update mainboard_smi_gpi() to have 32bit argument 2013-04-30 13:47:43 -07:00
parrot smi: Update mainboard_smi_gpi() to have 32bit argument 2013-04-30 13:47:43 -07:00
slippy slippy: Initial mainboard commit 2013-04-30 14:51:30 -07:00
snow Exynos5250: add a microsecond timer 2013-04-30 18:24:41 -07:00
stout smi: Update mainboard_smi_gpi() to have 32bit argument 2013-04-30 13:47:43 -07:00
Kconfig slippy: Initial mainboard commit 2013-04-30 14:51:30 -07:00