From 5b09816f3997ae050fac7e29f6a5cd107eb13a25 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Tue, 2 Sep 2014 10:13:15 -0700 Subject: 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 Original-Commit-Id: 69c655537c50274a61cf123b7fc387ec60dd29c7 Original-Change-Id: Ib1e3e5750cdc1adc509b4580a4f24d3ff3b105ee Original-Signed-off-by: Vadim Bendebury Original-Reviewed-on: https://chromium-review.googlesource.com/215862 Original-Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/8761 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/arch/mips/early_console.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/arch/mips') diff --git a/src/arch/mips/early_console.c b/src/arch/mips/early_console.c index 8f3d907c91..c699abcf6a 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; -} -- cgit v1.2.3