summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/rockchip/rk3288/tsadc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/soc/rockchip/rk3288/tsadc.c b/src/soc/rockchip/rk3288/tsadc.c
index b7d8e9d8ab..a2d6ec499a 100644
--- a/src/soc/rockchip/rk3288/tsadc.c
+++ b/src/soc/rockchip/rk3288/tsadc.c
@@ -88,11 +88,7 @@ void tsadc_init(void)
{
rkclk_configure_tsadc(TSADC_CLOCK_HZ);
- if (readl(&rk3288_tsadc->auto_con) & LAST_TSHUT) {
- printk(BIOS_WARNING, "last shutdown/rebot was caused "
- "by over-temperature hardware trigger!\n");
- setbits_le32(&rk3288_tsadc->auto_con, LAST_TSHUT);
- }
+ setbits_le32(&rk3288_tsadc->auto_con, LAST_TSHUT);
setbits_le32(&rk3288_tsadc->int_en,
TSHUT_CRU_EN_SRC2 | TSHUT_CRU_EN_SRC1 |