diff options
author | Denis Brockus <dbrockus@chromium.org> | 2020-02-06 11:24:52 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-07 00:36:38 +0000 |
commit | 24fba6dd423e919867494dbdcc394f36a77766ae (patch) | |
tree | 6ea1cf3274c6ed44d1888d9f6c355ec6a1adbcb2 /baseboard | |
parent | 425549603979939829dace5e081a4975ea414afc (diff) | |
download | chrome-ec-24fba6dd423e919867494dbdcc394f36a77766ae.tar.gz |
zork: remove hard off check for charger sensor temp
The proto1 boards are built powering the thermistor
with EC_A instead of PP3300_A, so we always have
power for the charger and not just when the AP is
running
BUG=b:143598098
BRANCH=none
TEST=verify we still boot
Change-Id: Ie8752f15b62068ceacce9e2bab75546449e93e84
Signed-off-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2042126
Commit-Queue: Edward Hill <ecgh@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/zork/baseboard.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/baseboard/zork/baseboard.c b/baseboard/zork/baseboard.c index 682abc778d..b7bbb7b676 100644 --- a/baseboard/zork/baseboard.c +++ b/baseboard/zork/baseboard.c @@ -893,18 +893,6 @@ static int board_get_temp(int idx, int *temp_k) /* idx is the sensor index set below in temp_sensors[] */ switch (idx) { case TEMP_SENSOR_CHARGER: - /* TODO: b/143598098 - * Revision 1.6 of the schematic will put this - * thermistor on power rail EC_A instead of - * PP3300_A. This will make the charger circuit - * temperature available even when the AP is not - * powered and the check will no longer be needed - */ - - /* thermistor is not powered in G3 */ - if (chipset_in_state(CHIPSET_STATE_HARD_OFF)) - return EC_ERROR_NOT_POWERED; - channel = ADC_TEMP_SENSOR_CHARGER; break; case TEMP_SENSOR_SOC: |