From b9d59bb630c5b954be52c3a039565d55e8e68a5d Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Mon, 26 Jan 2015 07:19:49 -0800 Subject: pistachio: Use 1.8433179 MHz for UART refclk BUG=chrome-os-partner:31438 BRANCH=none TEST=built and booted on urara w/ follow-up patches Change-Id: I3b03ce937e68539343e58b01e3bb714dd1f8c2dd Signed-off-by: Stefan Reinauer Original-Commit-Id: 9493c57a14c8ab074baac1c065c6f39050dd9b2f Original-Signed-off-by: David Hendricks Original-Change-Id: I8e50c99913ea155ba0d5699f4789c1fe38b46808 Original-Reviewed-on: https://chromium-review.googlesource.com/243210 Original-Reviewed-by: Ionela Voinescu Reviewed-on: http://review.coreboot.org/9666 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/soc/imgtec/pistachio/uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc') diff --git a/src/soc/imgtec/pistachio/uart.c b/src/soc/imgtec/pistachio/uart.c index 9c96b89f8e..b5892899a5 100644 --- a/src/soc/imgtec/pistachio/uart.c +++ b/src/soc/imgtec/pistachio/uart.c @@ -118,8 +118,8 @@ static void uart8250_mem_init(unsigned base_port, unsigned divisor) unsigned int uart_platform_refclk(void) { - /* TODO: this is entirely arbitrary */ - return 1000000; + /* 1.8433179 MHz */ + return 1843318; } uintptr_t uart_platform_base(int idx) -- cgit v1.2.3