diff options
author | Mulin Chao <mlchao@nuvoton.com> | 2016-09-07 10:11:48 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-08 06:14:51 -0700 |
commit | 8cbf285173916bb12426d7fcc241d27e9b658362 (patch) | |
tree | d442bd14087f8fe995fa4df76f47cea8894bcff1 /util | |
parent | 3798d8e8cc02105136f197a7bdc7ed8489213d44 (diff) | |
download | chrome-ec-8cbf285173916bb12426d7fcc241d27e9b658362.tar.gz |
npcx: Better download time for sysjump by increasing clock freq.
In order to improve the performance of sysjump, the CL increases the clock
freq of ec to 50M HZ (The maximum freq rate for SPI flash.). Once ec jumps
into the other region successfully, the clock freq is restored to the
default value (15MHz) in main routine.
Modified sources:
1. clock.c: Add clock_turbo for speed up clock's freq to max.
2. clock_chip.h: The declarartion for clock_turbo.
3. system.c: Speed up clock rate before downloading FW.
BRANCH=none
BUG=chrome-os-partner:34346
TEST=make BOARD=npcx_evb; test nuvoton IC specific drivers
Change-Id: I996e35fff336e6292599497feb1ee6c2f95becba
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
Reviewed-on: https://chromium-review.googlesource.com/381799
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions