summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-power8
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/qemu-power8')
-rw-r--r--src/mainboard/emulation/qemu-power8/Makefile.inc1
-rw-r--r--src/mainboard/emulation/qemu-power8/timer.c22
2 files changed, 23 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-power8/Makefile.inc b/src/mainboard/emulation/qemu-power8/Makefile.inc
index db005bbab8..5c6c56e5de 100644
--- a/src/mainboard/emulation/qemu-power8/Makefile.inc
+++ b/src/mainboard/emulation/qemu-power8/Makefile.inc
@@ -17,6 +17,7 @@ bootblock-y += uart.c
romstage-y += cbmem.c
ramstage-y += cbmem.c
romstage-y += romstage.c
+ramstage-y += timer.c
romstage-y += uart.c
ramstage-y += uart.c
diff --git a/src/mainboard/emulation/qemu-power8/timer.c b/src/mainboard/emulation/qemu-power8/timer.c
new file mode 100644
index 0000000000..65b8ecf02f
--- /dev/null
+++ b/src/mainboard/emulation/qemu-power8/timer.c
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * 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.
+ */
+
+#include <delay.h>
+
+void init_timer(void)
+{
+}
+
+void udelay(unsigned int n)
+{
+}