diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-11-20 15:24:51 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-21 02:44:41 +0000 |
commit | a58083c421e211dd5cdb1426056a9cf2486bde70 (patch) | |
tree | 2a67848c4e53a97ce5a8c9697377a43d62ec5e33 /chip/g/hwtimer.c | |
parent | 7ac1e44477f547921d9f799d09a84b1d5c983f95 (diff) | |
download | chrome-ec-a58083c421e211dd5cdb1426056a9cf2486bde70.tar.gz |
cr50: update for 11/20 hardware release
The clock frequency has been update from 26 to 30 Mhz.
Update the register definitions.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=none
TEST=make BOARD=cr50
load the software and see the console working.
Change-Id: I7ccb15491f582173d17739c93ea8c94b05925a6d
Reviewed-on: https://chromium-review.googlesource.com/231129
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/g/hwtimer.c')
-rw-r--r-- | chip/g/hwtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/g/hwtimer.c b/chip/g/hwtimer.c index 7dacdf75f7..974a3ff754 100644 --- a/chip/g/hwtimer.c +++ b/chip/g/hwtimer.c @@ -58,7 +58,7 @@ static void update_prescaler(void) * just hard-coding it. We're also assuming the clock rate is an * integer multiple of MHz. */ - clock_mul_factor = 26; /* NOTE: prototype board */ + clock_mul_factor = 30; /* NOTE: prototype board */ clock_div_factor = 0xffffffff / clock_mul_factor; } DECLARE_HOOK(HOOK_FREQ_CHANGE, update_prescaler, HOOK_PRIO_DEFAULT); |