summaryrefslogtreecommitdiff
path: root/src/soc/imgtec
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2015-01-26 07:19:49 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-14 12:08:09 +0200
commitb9d59bb630c5b954be52c3a039565d55e8e68a5d (patch)
treeef1899a0c76667afcc340fea4723b5767fbbbe71 /src/soc/imgtec
parent30fc6676dbfee43009b4110eb1ff7b4e03c91a37 (diff)
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 <reinauer@chromium.org> Original-Commit-Id: 9493c57a14c8ab074baac1c065c6f39050dd9b2f Original-Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Change-Id: I8e50c99913ea155ba0d5699f4789c1fe38b46808 Original-Reviewed-on: https://chromium-review.googlesource.com/243210 Original-Reviewed-by: Ionela Voinescu <ionela.voinescu@imgtec.com> Reviewed-on: http://review.coreboot.org/9666 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/imgtec')
-rw-r--r--src/soc/imgtec/pistachio/uart.c4
1 files changed, 2 insertions, 2 deletions
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)