diff options
Diffstat (limited to 'board/kahlee')
-rw-r--r-- | board/kahlee/board.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/board/kahlee/board.c b/board/kahlee/board.c index 3826d4a181..159063aa51 100644 --- a/board/kahlee/board.c +++ b/board/kahlee/board.c @@ -356,18 +356,6 @@ int pd_snk_is_vbus_provided(int port) */ int board_set_active_charge_port(int charge_port) { - static int initialized; - - /* - * Reject charge port disable if our battery is critical and we - * have yet to initialize a charge port - continue to charge using - * charger ROM / POR settings. - */ - if (!initialized && - charge_port == CHARGE_PORT_NONE && - charge_get_percent() < 2) - return -1; - switch (charge_port) { case 0: /* Don't charge from a source port */ @@ -395,7 +383,6 @@ int board_set_active_charge_port(int charge_port) } CPRINTS("New chg p%d", charge_port); - initialized = 1; return EC_SUCCESS; } |