diff options
-rw-r--r-- | baseboard/brask/baseboard.h | 7 | ||||
-rw-r--r-- | board/brask/board.c | 4 |
2 files changed, 3 insertions, 8 deletions
diff --git a/baseboard/brask/baseboard.h b/baseboard/brask/baseboard.h index 66a10c7197..dd7be91500 100644 --- a/baseboard/brask/baseboard.h +++ b/baseboard/brask/baseboard.h @@ -59,12 +59,7 @@ /* Support Barrel Jack */ #undef CONFIG_DEDICATED_CHARGE_PORT_COUNT #define CONFIG_DEDICATED_CHARGE_PORT_COUNT 1 -/* - * TODO(b/197475210): Don't allow the system to boot to S0 when - * the power is lower than CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON - * since there is no battery. - */ -#define CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON 30000 +#define CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON 45000 /* Chipset config */ #define CONFIG_CHIPSET_ALDERLAKE_SLG4BD44540 diff --git a/board/brask/board.c b/board/brask/board.c index 022ce8f43c..304fe58ce6 100644 --- a/board/brask/board.c +++ b/board/brask/board.c @@ -158,11 +158,11 @@ static void update_5v_usage(void) base_5v_power_s5 += PWR_S5_FRONT_HIGH - PWR_S5_FRONT_LOW; if (!gpio_get_level(GPIO_USB_A2_OC_ODL)) { - front_ports++; + rear_ports++; base_5v_power_s5 += PWR_S5_REAR_LOW; } if (!gpio_get_level(GPIO_USB_A3_OC_ODL)) { - front_ports++; + rear_ports++; base_5v_power_s5 += PWR_S5_REAR_LOW; } /* |