commit | b9d59bb630c5b954be52c3a039565d55e8e68a5d | [log] [tgz] |
---|---|---|
author | David Hendricks <dhendrix@chromium.org> | Mon Jan 26 07:19:49 2015 -0800 |
committer | Patrick Georgi <pgeorgi@google.com> | Tue Apr 14 12:08:09 2015 +0200 |
tree | ef1899a0c76667afcc340fea4723b5767fbbbe71 | |
parent | 30fc6676dbfee43009b4110eb1ff7b4e03c91a37 [diff] [blame] |
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>
diff --git a/src/soc/imgtec/pistachio/uart.c b/src/soc/imgtec/pistachio/uart.c index 9c96b89..b589289 100644 --- a/src/soc/imgtec/pistachio/uart.c +++ b/src/soc/imgtec/pistachio/uart.c
@@ -118,8 +118,8 @@ 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)