diff options
-rw-r--r-- | src/soc/rockchip/common/uart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/rockchip/common/uart.c b/src/soc/rockchip/common/uart.c index d2115da5e8..9ae6e1e356 100644 --- a/src/soc/rockchip/common/uart.c +++ b/src/soc/rockchip/common/uart.c @@ -14,11 +14,12 @@ */ #include <console/uart.h> +#include <soc/clock.h> #include <stdint.h> unsigned int uart_platform_refclk(void) { - return 23040000; + return OSC_HZ; } uintptr_t uart_platform_base(int idx) |