summaryrefslogtreecommitdiff
path: root/chip/host/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/clock.c')
-rw-r--r--chip/host/clock.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/chip/host/clock.c b/chip/host/clock.c
new file mode 100644
index 0000000000..89391c0028
--- /dev/null
+++ b/chip/host/clock.c
@@ -0,0 +1,13 @@
+/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ *
+ * Dummy clock driver for unit test.
+ */
+
+#include "clock.h"
+
+int clock_get_freq(void)
+{
+ return 16000000;
+}