aboutsummaryrefslogtreecommitdiff
path: root/src/soc/marvell/armada38x/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/marvell/armada38x/uart.c')
-rw-r--r--src/soc/marvell/armada38x/uart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/marvell/armada38x/uart.c b/src/soc/marvell/armada38x/uart.c
index e535aebf67..dbd8dca78f 100644
--- a/src/soc/marvell/armada38x/uart.c
+++ b/src/soc/marvell/armada38x/uart.c
@@ -21,6 +21,7 @@
#include <stdint.h>
#include <assert.h>
#include <soc/common.h>
+#include <soc/clock.h>
struct armada38x_uart {
union {
@@ -94,7 +95,7 @@ static int armada38x_uart_tst_byte(struct armada38x_uart *uart_ptr)
unsigned int uart_platform_refclk(void)
{
- return MV_BOARD_TCLK_250MHZ;
+ return mv_tclk_get();
}
uintptr_t uart_platform_base(int idx)