Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8761
-gerrit
commit e351353122462031eac52cc58d339f2b87ee7b9a Author: Vadim Bendebury vbendeb@chromium.org Date: Tue Sep 2 10:13:15 2014 -0700
mips: no need in architecture specific implementation of do_printk
With the proper configuration flags enabled, do_printk is available from src/console, no need to define it elsewhere.
BUG=chrome-os-partner:31438 TEST=with upcoming patches, the urara board coreboot builds fine
Change-Id: I82071b4ca1686639c0bd39c63a06b61cb5bf5571 Signed-off-by: Patrick Georgi pgeorgi@chromium.org Original-Commit-Id: 69c655537c50274a61cf123b7fc387ec60dd29c7 Original-Change-Id: Ib1e3e5750cdc1adc509b4580a4f24d3ff3b105ee Original-Signed-off-by: Vadim Bendebury vbendeb@chromium.org Original-Reviewed-on: https://chromium-review.googlesource.com/215862 Original-Reviewed-by: Aaron Durbin adurbin@chromium.org --- src/arch/mips/early_console.c | 17 ----------------- 1 file changed, 17 deletions(-)
diff --git a/src/arch/mips/early_console.c b/src/arch/mips/early_console.c index 8f3d907..c699abc 100644 --- a/src/arch/mips/early_console.c +++ b/src/arch/mips/early_console.c @@ -36,20 +36,3 @@ void console_tx_flush(void) uart_tx_flush(); #endif } - -int do_printk(int msg_level, const char *fmt, ...) -{ - va_list args; - int i; - - if (msg_level > console_loglevel) - return 0; - - va_start(args, fmt); - i = vtxprintf(console_tx_byte, fmt, args); - va_end(args); - - console_tx_flush(); - - return i; -}