Iru Cai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30189
Change subject: move mrc_printk to console.h ......................................................................
move mrc_printk to console.h
Change-Id: Iaa1a3ab5178fdf86ecd69e5a9bbaf48be76d50e8 Signed-off-by: Iru Cai mytbk920423@gmail.com --- M src/console/printk.c M src/include/console/console.h 2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/30189/1
diff --git a/src/console/printk.c b/src/console/printk.c index 4b39374..55a97c9 100644 --- a/src/console/printk.c +++ b/src/console/printk.c @@ -78,7 +78,6 @@ return i; }
-int mrc_printk(const char *fmt, ...); int mrc_printk(const char *fmt, ...) { int i; diff --git a/src/include/console/console.h b/src/include/console/console.h index a5f7305..d26ce5d 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -83,6 +83,8 @@ static inline void do_putchar(unsigned char byte) {} #endif
+int mrc_printk(const char *fmt, ...); + #if IS_ENABLED(CONFIG_VBOOT) /* FIXME: Collision of varargs with AMD headers without guard. */ #include <console/vtxprintf.h>