diff options
Diffstat (limited to 'board/nautilus')
-rw-r--r-- | board/nautilus/board.c | 4 | ||||
-rw-r--r-- | board/nautilus/board.h | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/board/nautilus/board.c b/board/nautilus/board.c index f594cedf05..fa588fc32c 100644 --- a/board/nautilus/board.c +++ b/board/nautilus/board.c @@ -450,14 +450,10 @@ const struct temp_sensor_t temp_sensors[] = { {"Battery", TEMP_SENSOR_TYPE_BATTERY, charge_get_battery_temp, 0, 4}, /* These BD99992GW temp sensors are only readable in S0 */ - {"Ambient", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, - BD99992GW_ADC_CHANNEL_SYSTHERM0, 4}, {"Charger", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, BD99992GW_ADC_CHANNEL_SYSTHERM1, 4}, {"DRAM", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, BD99992GW_ADC_CHANNEL_SYSTHERM2, 4}, - {"eMMC", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, - BD99992GW_ADC_CHANNEL_SYSTHERM3, 4}, }; BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT); diff --git a/board/nautilus/board.h b/board/nautilus/board.h index a85f1d2aa3..311797aa54 100644 --- a/board/nautilus/board.h +++ b/board/nautilus/board.h @@ -195,12 +195,11 @@ enum power_signal { POWER_SIGNAL_COUNT }; +/* Nautilus doesn't have systherm0 and systherm3 */ enum temp_sensor_id { TEMP_SENSOR_BATTERY, /* BD99956GW TSENSE */ - TEMP_SENSOR_AMBIENT, /* BD99992GW SYSTHERM0 */ TEMP_SENSOR_CHARGER, /* BD99992GW SYSTHERM1 */ TEMP_SENSOR_DRAM, /* BD99992GW SYSTHERM2 */ - TEMP_SENSOR_EMMC, /* BD99992GW SYSTHERM3 */ TEMP_SENSOR_COUNT }; |