rpi: Flush serial on cleanup
* Wait for transmit fifo to empty on serial cleanup * Serial cleanup on platform exit
This commit is contained in:
parent
91161d1d6f
commit
ce077d96cb
@ -67,7 +67,9 @@ serial_enable(void)
|
||||
extern "C" void
|
||||
serial_cleanup(void)
|
||||
{
|
||||
#warning IMPLEMENT serial_cleanup
|
||||
// Transmit the last of our fifo
|
||||
gLoaderUART.FlushTx();
|
||||
gLoaderUART.Disable();
|
||||
}
|
||||
|
||||
|
||||
|
@ -92,7 +92,7 @@ platform_start_kernel(void)
|
||||
void
|
||||
platform_exit(void)
|
||||
{
|
||||
#warning IMPLEMENT platform_exit
|
||||
serial_cleanup();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user