diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2014-09-02 10:13:15 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-21 16:57:04 +0100 |
commit | 5b09816f3997ae050fac7e29f6a5cd107eb13a25 (patch) | |
tree | 8949c0102e6be981d40e82187c795a3ee1c5787c /src/arch/mips | |
parent | e8530033b8b5a353c884fd3c90457f703ff0bc38 (diff) |
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>
Reviewed-on: http://review.coreboot.org/8761
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/mips')
-rw-r--r-- | src/arch/mips/early_console.c | 17 |
1 files changed, 0 insertions, 17 deletions
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; -} |