diff options
Diffstat (limited to 'board/berknip/board.h')
-rw-r--r-- | board/berknip/board.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/board/berknip/board.h b/board/berknip/board.h index f6c0523a9a..c3f27a7e79 100644 --- a/board/berknip/board.h +++ b/board/berknip/board.h @@ -45,6 +45,8 @@ #define CONFIG_USBC_RETIMER_TUSB544 #define TUSB544_I2C_ADDR_FLAGS1 0x0F +#define CONFIG_POWER_SIGNAL_RUNTIME_CONFIG + /* GPIO mapping from board specific name to EC common name. */ #define CONFIG_BATTERY_PRESENT_GPIO GPIO_EC_BATT_PRES_ODL #define CONFIG_SCI_GPIO GPIO_EC_FCH_SCI_ODL @@ -61,7 +63,6 @@ #define GPIO_PCH_SYS_PWROK GPIO_EC_FCH_PWROK #define GPIO_PCH_WAKE_L GPIO_EC_FCH_WAKE_L #define GPIO_POWER_BUTTON_L GPIO_EC_PWR_BTN_ODL -#define GPIO_S0_PGOOD GPIO_S0_PWROK_OD #define GPIO_S5_PGOOD GPIO_EC_PWROK_OD #define GPIO_SYS_RESET_L GPIO_EC_SYS_RST_L #define GPIO_VOLUME_DOWN_L GPIO_VOLDN_BTN_ODL @@ -71,6 +72,9 @@ #ifndef __ASSEMBLER__ +/* This GPIOs moved. Temporarily detect and support the V0 HW. */ +extern enum gpio_signal GPIO_S0_PGOOD; + enum adc_channel { ADC_TEMP_SENSOR_5V_REGULATOR, ADC_TEMP_SENSOR_CHARGER, |