gaze16-3050, gaze16-3060: set PCH_DPWROK_EC low on EC boot to ensure PCH is off

This commit is contained in:
Jeremy Soller
2021-09-30 10:49:16 -06:00
committed by Jeremy Soller
parent d3ee037879
commit 9fa83ad359
2 changed files with 3 additions and 4 deletions

View File

@ -55,8 +55,8 @@ void gpio_init() {
// PWR_BTN#, SMI#, SCI#
GPDRD = BIT(5) | BIT(4) | BIT(3);
GPDRE = 0;
// CC_EN, PCH_DPWROK_EC
GPDRF = BIT(7) | BIT(3);
// CC_EN
GPDRF = BIT(7);
// H_PROCHOT_EC, WLAN_EN
GPDRG = BIT(6) | BIT(1);
// AIRPLAN_LED#

View File

@ -56,8 +56,7 @@ void gpio_init() {
// PWR_BTN#, SMI#, SCI#
GPDRD = BIT(5) | BIT(4) | BIT(3);
GPDRE = 0;
// PCH_DPWROK_EC
GPDRF = BIT(7);
GPDRF = 0;
// H_PROCHOT#_EC, WLAN_EN
GPDRG = BIT(6) | BIT(1);
// AIRPLAN_LED#