ARMv7: Expose console_tx_flush in early console
This is needed by some drivers and use cases (mostly around ChromeOS functionality on ARM) Signed-off-by: Stefan Reinauer <reinauer@google.com> BRANCH=none TEST=compile tested, no functional change BUG=none Change-Id: I38dfdcb4c2e3dde1e94315828a195b077660b4ff Reviewed-on: https://chromium-review.googlesource.com/167541 Reviewed-by: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com> Commit-Queue: Stefan Reinauer <reinauer@google.com>
This commit is contained in:
parent
7b5afef4ee
commit
a3e2413f58
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ void console_tx_byte(unsigned char byte)
|
|||
#endif
|
||||
}
|
||||
|
||||
static void _console_tx_flush(void)
|
||||
void console_tx_flush(void)
|
||||
{
|
||||
#if CONFIG_CONSOLE_SERIAL8250MEM
|
||||
uart8250_mem_tx_flush(CONFIG_OXFORD_OXPCIE_BASE_ADDRESS + 0x1000);
|
||||
|
|
@ -75,7 +75,7 @@ int do_printk(int msg_level, const char *fmt, ...)
|
|||
i = vtxprintf(console_tx_byte, fmt, args);
|
||||
va_end(args);
|
||||
|
||||
_console_tx_flush();
|
||||
console_tx_flush();
|
||||
|
||||
return i;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue