diff options
author | Dino Li <dino.li@ite.com.tw> | 2016-04-08 16:33:43 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-11 20:08:27 -0700 |
commit | 35e8490a63fda5c0c55cfa1232da6e7b44f191e2 (patch) | |
tree | 9a1a2b0cfccf42ac22af990343c13dc3438555a4 /chip/it83xx | |
parent | f3552a6863079a29a90268da55b2f2d2b789580a (diff) | |
download | chrome-ec-35e8490a63fda5c0c55cfa1232da6e7b44f191e2.tar.gz |
chip: it83xx: disable USB module's clock at default
The GPIOH.5/6 are reserved for USB module and the
clock is disabled before configuring it.
Signed-off-by: Dino Li <dino.li@ite.com.tw>
BRANCH=none
BUG=none
TEST=Clock is disabled at default.
Change-Id: If679ab3de13019f19a936b9a412b20973fb8989f
Reviewed-on: https://chromium-review.googlesource.com/338066
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>
Diffstat (limited to 'chip/it83xx')
-rw-r--r-- | chip/it83xx/clock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/it83xx/clock.c b/chip/it83xx/clock.c index 895211cac2..b24341b062 100644 --- a/chip/it83xx/clock.c +++ b/chip/it83xx/clock.c @@ -61,7 +61,8 @@ static void clock_module_disable(void) clock_disable_peripheral((CGC_OFFSET_SMBA | CGC_OFFSET_SMBB | CGC_OFFSET_SMBC | CGC_OFFSET_SMBD | CGC_OFFSET_SMBE | CGC_OFFSET_SMBF), 0, 0); - clock_disable_peripheral((CGC_OFFSET_SSPI | CGC_OFFSET_PECI), 0, 0); + clock_disable_peripheral((CGC_OFFSET_SSPI | CGC_OFFSET_PECI | + CGC_OFFSET_USB), 0, 0); } void clock_init(void) |