diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2017-08-31 18:36:17 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-07 15:01:05 -0700 |
commit | 0898c7a63a4ccb0f11c1c61bb085d8d062f664ab (patch) | |
tree | 328298c6608da573904a497af5985db7280d686f /chip/it83xx/system.c | |
parent | 096ea20ed18095a967e1829b6ae60b13453416be (diff) | |
download | chrome-ec-0898c7a63a4ccb0f11c1c61bb085d8d062f664ab.tar.gz |
cleanup: Remove jtag_pre_init()
Use our newly-created chip_pre_init() for doing JTAG initialization.
BUG=chromium:747629
BRANCH=None
TEST=`make buildall -j`
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: Ic5771895a214a9f1aa9bd289eef576f52adf973f
Reviewed-on: https://chromium-review.googlesource.com/629676
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/it83xx/system.c')
-rw-r--r-- | chip/it83xx/system.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chip/it83xx/system.c b/chip/it83xx/system.c index 0ad1be657b..ddd8b048f0 100644 --- a/chip/it83xx/system.c +++ b/chip/it83xx/system.c @@ -101,6 +101,12 @@ int system_is_reboot_warm(void) return 1; } +void chip_pre_init(void) +{ + /* bit4, enable debug mode through SMBus */ + IT83XX_SMB_SLVISELR &= ~(1 << 4); +} + void system_pre_init(void) { /* No initialization required */ |