coreboot-kgpe-d16/src/console
Jacob Garber deb99af8a1 console: Allow using vprintk() with disabled console
The prototype of vprintk() is currently declared unconditionally, which
prevents it from being used in situations where the console is disabled.
The code will compile correctly, but not link, since the definition in
console.c isn't being provided. This adds a shim around the declaration
so that, like printk(), a call to vprintk() in this situation will expand
to a no-op function instead.

Change-Id: Ib4a9aa96a5b9dbb9b937ff45854bf6a407938b37
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33181
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2019-06-11 17:29:02 +00:00
..
console.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
die.c console: Make die() and friends variadic 2019-06-11 17:24:53 +00:00
hw-debug_sink.adb console/hw-debug_sink: Do not cache state of log level 2018-06-07 16:35:20 +00:00
hw-debug_sink.ads Hook up libhwbase in ramstage 2016-11-29 23:45:40 +01:00
init.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
Kconfig soc/samsung/exynos5420: Disable BOOTBLOCK_CONSOLE 2019-01-16 11:07:11 +00:00
Makefile.inc post_code: add post code for hardware initialization failure 2019-05-22 17:44:53 +00:00
post.c post: during post_code, only call elog when enabled 2019-05-22 14:21:42 +00:00
printk.c console: Allow using vprintk() with disabled console 2019-06-11 17:29:02 +00:00
vsprintf.c src/console: Fix coding style 2018-06-04 08:48:33 +00:00
vtxprintf.c console: Move poor-man's atoi() into string.h 2019-05-23 08:43:12 +00:00