summaryrefslogtreecommitdiff
path: root/tests/stubs
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2020-10-09 16:02:46 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-11-10 06:19:10 +0000
commite0af9fcb2d526ffd654d0bb573dd5333d0d76269 (patch)
tree436bdda53dedf62ec6c3ca52aa01c3e6dfdab4f7 /tests/stubs
parenteaaa549e4a176637198f50570b81ecd3a7cf9549 (diff)
tests: Add lib/edid-test test case
Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: I796e660eebc4d2c3c32207bd3a6ee44aaffeb325 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46817 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'tests/stubs')
-rw-r--r--tests/stubs/console.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/stubs/console.c b/tests/stubs/console.c
index b6a75831b5..0f1dc24725 100644
--- a/tests/stubs/console.c
+++ b/tests/stubs/console.c
@@ -1,6 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <console/console.h>
+#include <stdarg.h>
+#include <stdio.h>
int do_printk(int msg_level, const char *fmt, ...)
{
@@ -11,3 +13,8 @@ int do_vprintk(int msg_level, const char *fmt, va_list args)
{
return 0;
}
+
+int console_log_level(int msg_level)
+{
+ return 0;
+}