diff options
author | Kyoung Kim <kyoung.il.kim@intel.com> | 2016-01-11 11:42:02 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-01-13 15:03:43 -0800 |
commit | 6e2d2982499ff65d447f629e68ab19a2f8bdbf9b (patch) | |
tree | 2dd46f2a5e6c5fadb7c8e54083b3b3c021086b37 /board/glados/board.c | |
parent | c980765b05273f9f952aabde979452d13649fbb7 (diff) | |
download | chrome-ec-6e2d2982499ff65d447f629e68ab19a2f8bdbf9b.tar.gz |
Skylake: prevent EC from continuing execution after turning 3.3V_DSW off.
Without this patch, EC continues to execute including board_pmic_init()
and its i2c transaction can be disturbed in the middle without proper
i2c stop and following new i2c transaction might fails.
BUG=none
BRANCH=master
TEST=none
Change-Id: Iaa39d3531faa5af24c1c4b445de014c9e263a021
Signed-off-by: Kyoung Kim <kyoung.il.kim@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/321342
Commit-Ready: Kyoung Il Kim <kyoung.il.kim@intel.com>
Tested-by: Kyoung Il Kim <kyoung.il.kim@intel.com>
Reviewed-by: Kevin K Wong <kevin.k.wong@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/glados/board.c')
-rw-r--r-- | board/glados/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/glados/board.c b/board/glados/board.c index ff1aada1f3..68d261d13e 100644 --- a/board/glados/board.c +++ b/board/glados/board.c @@ -478,6 +478,8 @@ static void board_handle_reboot(void) /* Bring down all rails but RTC rail (including EC power). */ gpio_set_flags_by_mask(g->port, g->mask, GPIO_OUT_HIGH); + while (1) + ; /* wait here */ } DECLARE_HOOK(HOOK_INIT, board_handle_reboot, HOOK_PRIO_FIRST); |