Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31369
Change subject: sifive/hifive-unleashed: Drop unneeded console_tx_flush() ......................................................................
sifive/hifive-unleashed: Drop unneeded console_tx_flush()
Every printk() call already does console_tx_flush() so there should not be anything in transmit buffer when we return from console_init().
Change-Id: Iff2927c02d2c8031907620a056782bb014f20162 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- M src/mainboard/sifive/hifive-unleashed/romstage.c 1 file changed, 0 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/31369/1
diff --git a/src/mainboard/sifive/hifive-unleashed/romstage.c b/src/mainboard/sifive/hifive-unleashed/romstage.c index 8277141..0611a6d 100644 --- a/src/mainboard/sifive/hifive-unleashed/romstage.c +++ b/src/mainboard/sifive/hifive-unleashed/romstage.c @@ -27,12 +27,6 @@
/* TODO: Follow Section 6.3 (FSBL) of the FU540 manual */
- /* - * Flush console before changing clock/UART divisor to prevent garbage - * being printed. - */ - console_tx_flush(); - clock_init();
// re-initialize UART