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> |
||
---|---|---|
.. | ||
c_start.S | ||
cbfs_and_run.c | ||
cpu.c | ||
exception.c | ||
id.inc | ||
id.lds | ||
ioapic.c | ||
Makefile.inc | ||
pci_ops_auto.c | ||
pci_ops_conf1.c | ||
pci_ops_conf2.c | ||
pci_ops_mmconf.c | ||
romcc_console.c | ||
romstage_console.c | ||
stages.c | ||
walkcbfs.S |