summaryrefslogtreecommitdiff
path: root/chip/mt_scp/system.c
diff options
context:
space:
mode:
authorRong Chang <rongchang@chromium.org>2019-03-25 16:22:41 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-04-23 07:21:34 -0700
commitb1cc0bc684ad2377716f2ebc11b9f0a9484fa52a (patch)
tree926a9f255d05b75681388c600b370b369ecca64c /chip/mt_scp/system.c
parent84a70a900c76ea0c0767dba5ab2df120006dfd93 (diff)
downloadchrome-ec-b1cc0bc684ad2377716f2ebc11b9f0a9484fa52a.tar.gz
kukui: scp: move CPU clock selection to clock module
CPU clock management should be in clock module. BUG=b:120169529 BRANCH=none TEST=manual build and load on kukui, check SCP console command: > rw 0x405C4000 read 0x405c4000 = 0x00000803 Change-Id: Ic13e9a51cf682af33799b713849fd3a445e6cfdb Signed-off-by: Rong Chang <rongchang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1538097 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'chip/mt_scp/system.c')
-rw-r--r--chip/mt_scp/system.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/chip/mt_scp/system.c b/chip/mt_scp/system.c
index c3c6defca2..3011b7024f 100644
--- a/chip/mt_scp/system.c
+++ b/chip/mt_scp/system.c
@@ -82,9 +82,7 @@ void system_pre_init(void)
/* SRAM */
scp_enable_tcm();
/* Clock */
- SCP_CLK_SEL = CLK_SEL_SYS_26M;
scp_enable_clock();
- SCP_CLK_SEL = CLK_SEL_ULPOSC_2;
/* Peripheral IRQ */
scp_enable_pirq();
/* Init dram mapping (and cache) */