diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2016-12-26 10:58:16 -0800 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2016-12-27 18:07:39 +0100 |
commit | aa5c8f78f98614130cfb4802faa30b6a6b92e815 (patch) | |
tree | 09388b13387c5a1c37e06e663637c5e9ac96a3f3 | |
parent | ed6fe2f64b37d0c6161b23b20980f91e0be7a1ea (diff) | |
download | coreboot-aa5c8f78f98614130cfb4802faa30b6a6b92e815.tar.xz |
console: Enable do_printk_va_list for VBOOT
Use CONFIG_VBOOT to enable do_printk_va_list to match the conditionals
in include/console/console.h and the only caller is vboot/vboot_logic.c.
CONFIG_VBOOT is also selected for CONFIG_CHROMEOS.
TEST=Build and run on Galileo Gen2
Change-Id: Ia115c74afa498a14d5edd6f7940ec2edc124516f
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/17967
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r-- | src/console/printk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/printk.c b/src/console/printk.c index 855c841284..2f7e27719b 100644 --- a/src/console/printk.c +++ b/src/console/printk.c @@ -79,7 +79,7 @@ int do_printk(int msg_level, const char *fmt, ...) return i; } -#if IS_ENABLED (CONFIG_CHROMEOS) +#if IS_ENABLED (CONFIG_VBOOT) void do_printk_va_list(int msg_level, const char *fmt, va_list args) { if (!console_log_level(msg_level)) @@ -87,4 +87,4 @@ void do_printk_va_list(int msg_level, const char *fmt, va_list args) vtxprintf(wrap_putchar, fmt, args, NULL); console_tx_flush(); } -#endif /* CONFIG_CHROMEOS */ +#endif /* CONFIG_VBOOT */ |