a68555f48d
The previous code does a full flush of the uart after every character. Unfortunately, this can cause transmission delays on some serial ports. This patch changes the code so that it does a flush at the end of every printk instead of at the end of every character. This reduces the time it takes to transmit serial messages (up to 9% on my Asrock e350m1 board). It also makes the transmission time more consistent which is important when performing timing tests via serial transmissions. Change-Id: I6b28488b905da68c6d68d7c517cc743cde567d70 Signed-off-by: Kevin O'Connor <kevin@koconnor.net> Reviewed-on: http://review.coreboot.org/90 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek <r.marek@assembler.cz> Reviewed-by: Sven Schnelle <svens@stackframe.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile.inc | ||
console.c | ||
die.c | ||
logbuf_console.c | ||
ne2k_console.c | ||
post.c | ||
printk.c | ||
uart8250_console.c | ||
uart8250mem_console.c | ||
usbdebug_console.c | ||
vsprintf.c | ||
vtxprintf.c |