summaryrefslogtreecommitdiff
path: root/src/arch/arm/armv7/timestamp.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-08-30 15:41:54 -0500
committerAaron Durbin <adurbin@chromium.org>2015-08-31 13:55:03 +0000
commit107d1fb1376bca62cf07f59eec222f7834c5f326 (patch)
treec7d9831e73b562ff4219723252068ef7c4f0e6cf /src/arch/arm/armv7/timestamp.c
parent4a2fc3e6f08d19a8045802784a5342f11ed4ff9c (diff)
armv7/arm64: remove timestamp.c
The src/lib/timestamp.c already has an implementation using timer_monotonic_get() for timestamp_get(). Use that instead of duplicating the logic. BUG=chrome-os-partner:44669 BRANCH=None TEST=None Change-Id: If17be86143f217445bd64d67ceee4355fa482d39 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11468 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/arch/arm/armv7/timestamp.c')
-rw-r--r--src/arch/arm/armv7/timestamp.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/arch/arm/armv7/timestamp.c b/src/arch/arm/armv7/timestamp.c
deleted file mode 100644
index 1b3138f9a8..0000000000
--- a/src/arch/arm/armv7/timestamp.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright 2013 Google Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.
- */
-
-#include <timestamp.h>
-#include <timer.h>
-
-uint64_t timestamp_get(void)
-{
- struct mono_time timestamp;
- timer_monotonic_get(&timestamp);
- return (uint64_t)timestamp.microseconds;
-}