rk3288: don't log LAST_TSHUT bit

Since the LAST_THSUT bit is uncertain value when it cold-reboot,
we remove the printout about this status bit in coreboot.

BUG=chrome-os-partner:33521
TEST=Boot on veyron_pinky rev2

Change-Id: I3b9791ffdffeff0721e3d86378db6255c5abc9ea
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 16464d3229ad1001952ef1b50fe3e606d1583462
Original-Change-Id: I258750797e32c28f86e73a01eede005e890a6906
Original-Signed-off-by: huang lin <hl@rock-chips.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/228391
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: http://review.coreboot.org/9409
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
huang lin 2014-11-07 10:56:35 +08:00 committed by Patrick Georgi
parent d1bdef008a
commit 335d9f123c
1 changed files with 1 additions and 5 deletions

View File

@ -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 |