summaryrefslogtreecommitdiff
path: root/tests/stubs/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stubs/console.c')
-rw-r--r--tests/stubs/console.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/stubs/console.c b/tests/stubs/console.c
new file mode 100644
index 0000000000..b6a75831b5
--- /dev/null
+++ b/tests/stubs/console.c
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <console/console.h>
+
+int do_printk(int msg_level, const char *fmt, ...)
+{
+ return 0;
+}
+
+int do_vprintk(int msg_level, const char *fmt, va_list args)
+{
+ return 0;
+}