summaryrefslogtreecommitdiff
path: root/chip/it83xx/clock.c
diff options
context:
space:
mode:
authorDino Li <dino.li@ite.com.tw>2016-02-17 13:29:00 +0800
committerchrome-bot <chrome-bot@chromium.org>2016-03-22 21:39:24 -0700
commit47e2912f4bd67b69dc2961c146a9e6674092cda8 (patch)
tree0a1e0914c27447c76907838b3c5a120d8d47d8e1 /chip/it83xx/clock.c
parent57244d77083849f28101cc7b509e9fc39a7930d8 (diff)
downloadchrome-ec-47e2912f4bd67b69dc2961c146a9e6674092cda8.tar.gz
chip: it83xx: remove "CHIP_FAMILY_IT839X"
The new IC is backward compatible with it839x, so we removed it. Signed-off-by: Dino Li <dino.li@ite.com.tw> BRANCH=none BUG=none TEST=make -j buildall Change-Id: I8de3d3c13b0f07f50ffffffc80723e44a923c7c8 Reviewed-on: https://chromium-review.googlesource.com/333864 Commit-Ready: Dino Li <dino.li@ite.com.tw> Tested-by: Dino Li <dino.li@ite.com.tw> Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/it83xx/clock.c')
-rw-r--r--chip/it83xx/clock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/chip/it83xx/clock.c b/chip/it83xx/clock.c
index a957782815..895211cac2 100644
--- a/chip/it83xx/clock.c
+++ b/chip/it83xx/clock.c
@@ -206,10 +206,8 @@ static int clock_allow_low_power_idle(void)
static void clock_ec_pll_ctrl(enum ec_pll_ctrl mode)
{
IT83XX_ECPM_PLLCTRL = mode;
-#ifdef CHIP_FAMILY_IT839X
/* for deep doze / sleep mode */
IT83XX_ECPM_PLLCTRL = mode;
-#endif
asm volatile ("dsb");
}