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>
This commit is contained in:
parent
ed6fe2f64b
commit
aa5c8f78f9
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue