diff options
Diffstat (limited to 'src/soc/sifive/fu540/uart.c')
-rw-r--r-- | src/soc/sifive/fu540/uart.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/soc/sifive/fu540/uart.c b/src/soc/sifive/fu540/uart.c index 454b13d111..b59b78902a 100644 --- a/src/soc/sifive/fu540/uart.c +++ b/src/soc/sifive/fu540/uart.c @@ -29,9 +29,5 @@ uintptr_t uart_platform_base(int idx) unsigned int uart_platform_refclk(void) { - /* - * The SiFive UART uses tlclk, which is coreclk/2, as input - */ - - return clock_get_coreclk_khz() * KHz / 2; + return clock_get_tlclk_khz() * KHz; } |