UPSTREAM: console: Change CONFIG_CHROMEOS requirement from do_printk_va_list()
CONFIG_VBOOT was recently moved to be independent from CONFIG_CHROMEOS. Change the code guard for do_printk_va_list() accordingly, since it's used by vboot (not Chrome OS) code. BUG=None BRANCH=None TEST=None Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/16230 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Kysti Mlkki <kyosti.malkki@gmail.com> Change-Id: I44e868d2fd8e1368eeda2f10a35d0a2bd7259759 Reviewed-on: https://chromium-review.googlesource.com/371503 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Martin Roth <martinroth@chromium.org>
This commit is contained in:
parent
65dfd6aff0
commit
b5da8acc34
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ static inline void printk(int LEVEL, const char *fmt, ...) {}
|
|||
static inline void do_putchar(unsigned char byte) {}
|
||||
#endif
|
||||
|
||||
#if CONFIG_CHROMEOS
|
||||
#if IS_ENABLED(CONFIG_VBOOT)
|
||||
/* FIXME: Collision of varargs with AMD headers without guard. */
|
||||
#include <console/vtxprintf.h>
|
||||
#if __CONSOLE_ENABLE__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue