summaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2020-10-09 10:07:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-11-09 07:34:07 +0000
commite0c60f3d39182a1105aa9e39683abdbc2e600162 (patch)
treeaa79243e671ed620c9daf89707579acbeb4b063f /tests/include
parent5742357e4d9f9acd2b13d6db32bf22bb58545c17 (diff)
downloadcoreboot-e0c60f3d39182a1105aa9e39683abdbc2e600162.tar.xz
tests: Add lib/timestamp-test test case
Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: I39abfc644fef085cef2175086a0e45a040b244de Reviewed-on: https://review.coreboot.org/c/coreboot/+/46968 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/stubs/timestamp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/include/stubs/timestamp.h b/tests/include/stubs/timestamp.h
new file mode 100644
index 0000000000..10b81598c4
--- /dev/null
+++ b/tests/include/stubs/timestamp.h
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#include <types.h>
+
+void dummy_timestamp_set(uint64_t v);
+
+void dummy_timestamp_tick_freq_mhz_set(int v);