imgtec/pistachio: remove timestamp_get() implementation

As pistachio already provides timer_monotonic_get() let the
generic timestamp_get() use that instead of having around
another implementation of timestamp_get().

BUG=chrome-os-partner:44669
BRANCH=None
TEST=None

Change-Id: Iaa6db49f0055b7c2ef116f41453f838093e516e0
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11469
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
Aaron Durbin 2015-08-30 16:04:13 -05:00
parent 107d1fb137
commit 60391b65fd
1 changed files with 1 additions and 6 deletions

View File

@ -53,10 +53,5 @@ static int get_count_mhz_freq(void)
void timer_monotonic_get(struct mono_time *mt)
{
mt->microseconds = (long)timestamp_get();
}
uint64_t timestamp_get(void)
{
return read_c0_count()/get_count_mhz_freq();
mono_time_set_usecs(mt, read_c0_count() / get_count_mhz_freq());
}