diff options
Diffstat (limited to 'board/galtic/board.c')
-rw-r--r-- | board/galtic/board.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/board/galtic/board.c b/board/galtic/board.c index 2dfc74bbd4..5e8f5f5714 100644 --- a/board/galtic/board.c +++ b/board/galtic/board.c @@ -758,3 +758,18 @@ void lid_angle_peripheral_enable(int enable) } } #endif + +__override void board_pulse_entering_rw(void) +{ + /* + * On the ITE variants, the EC_ENTERING_RW signal was connected to a pin + * which is active high by default. This cause Cr50 to think that the + * EC has jumped to its RW image even though this may not be the case. + * The pin is changed to GPIO_EC_ENTERING_RW2. + */ + gpio_set_level(GPIO_EC_ENTERING_RW, 1); + gpio_set_level(GPIO_EC_ENTERING_RW2, 1); + usleep(MSEC); + gpio_set_level(GPIO_EC_ENTERING_RW, 0); + gpio_set_level(GPIO_EC_ENTERING_RW2, 0); +} |