summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-02-12 14:43:47 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-02-20 03:57:33 +0000
commit47924a297eabc00c99896048a249f311d487cfe2 (patch)
tree0f8a9c230d5b4a1c67f6d60e092aeb98a83782fa /src/mainboard
parentba269fd77ee6582f3fac131e340803ec1ac1a81b (diff)
downloadcoreboot-47924a297eabc00c99896048a249f311d487cfe2.tar.xz
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> Reviewed-on: https://review.coreboot.org/c/31369 Reviewed-by: Xiang Wang <wxjstz@126.com> Reviewed-by: Philipp Hug <philipp@hug.cx> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/sifive/hifive-unleashed/romstage.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mainboard/sifive/hifive-unleashed/romstage.c b/src/mainboard/sifive/hifive-unleashed/romstage.c
index 8277141cab..0611a6d959 100644
--- a/src/mainboard/sifive/hifive-unleashed/romstage.c
+++ b/src/mainboard/sifive/hifive-unleashed/romstage.c
@@ -27,12 +27,6 @@ void main(void)
/* 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