x86: expose console_tx_flush in romstage
commit1989b4bd560045b524fad2f5d189907e4a8abe26
authorAaron Durbin <adurbin@chromium.org>
Sat, 23 Mar 2013 00:52:42 +0000 (22 19:52 -0500)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Sat, 23 Mar 2013 18:36:36 +0000 (23 19:36 +0100)
treee1af2c03fd7f62c95cec6a423a9dcc0f29b145a7
parentd23e292ef624ae1000b700399ece00c72946ede1
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>
src/arch/x86/lib/romstage_console.c
src/include/console/console.h