diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-03-22 19:52:42 -0500 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-03-23 19:36:36 +0100 |
commit | 1989b4bd560045b524fad2f5d189907e4a8abe26 (patch) | |
tree | e1af2c03fd7f62c95cec6a423a9dcc0f29b145a7 /src/include/console | |
parent | d23e292ef624ae1000b700399ece00c72946ede1 (diff) |
x86: expose console_tx_flush in romstage
The vboot module relied on being able to flush the console
after it called vtxprintf() from its log wrapper function.
Expose the console_tx_flush() function in romstage so the
vboot module can ensure messages are flushed.
Change-Id: I578053df4b88c2068bd9cc90eea5573069a0a4e8
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2882
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include/console')
-rw-r--r-- | src/include/console/console.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h index 496571b6fa..0b636447be 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -38,7 +38,6 @@ #endif #ifndef __PRE_RAM__ -void console_tx_flush(void); unsigned char console_rx_byte(void); int console_tst_byte(void); struct console_driver { @@ -68,6 +67,7 @@ extern int console_loglevel; #ifndef __ROMCC__ void console_init(void); void console_tx_byte(unsigned char byte); +void console_tx_flush(void); void post_code(u8 value); /* this function is weak and can be overridden by a mainboard function. */ void mainboard_post(u8 value); |