Lee Leahy (leroy.p.leahy@intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17967
-gerrit
commit 7c6fee0ae263fac7b52c9dccbc2c249c0f41c1c1 Author: Lee Leahy leroy.p.leahy@intel.com Date: Mon Dec 26 10:58:16 2016 -0800
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 --- src/console/printk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/console/printk.c b/src/console/printk.c index 855c841..2f7e277 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 */