coreboot-kgpe-d16/src/soc/mediatek/mt8173
Julius Werner c71359413d google/oak: Log hardware watchdog in eventlog
The MT8173 hardware watchdog can assert an external signal which we use
to reset the TPM on Oak. Therefore we do not need to do the same
double-reset dance as on other Chromebooks to ensure that we reset in a
correct state.

Still, we have a situation where we need to reconfigure the watchdog
early in the bootblock in a way that will clear information about the
previous reboot from the status register, and we need that information
later in ramstage to log the right event. Let's reuse the same watchdog
tombstone mechanism from other boards, except that we don't perform a
second reset and the tombstone is simply used to communicate between
bootblock and ramstage within the same boot.

BRANCH=None
BUG=None
TEST=Run 'mem w 0x10007004 0x8' on Oak, observe how it reboots and how
'mosys eventlog list' shows a hardware watchdog reboot event afterwards.

Change-Id: I1ade018eba652af91814fdaec233b9920f2df01f
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 07af37e11499e86e730f7581862e8f0d67a04218
Original-Change-Id: I0b9c6b83b20d6e1362d650ac2ee49fff45b29767
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/334449
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://review.coreboot.org/14234
Tested-by: build bot (Jenkins)
Reviewed-by: Julius Werner <jwerner@chromium.org>
2016-04-05 13:35:09 +02:00
..
include/soc google/oak: Log hardware watchdog in eventlog 2016-04-05 13:35:09 +02:00
bl31_plat_params.c mediatek/mt8173: Remove bl31 board parameters passing mechanism 2016-03-21 23:12:36 +01:00
bootblock.c mediatek/mt8173: move rtc_boot() to romstage 2016-01-22 22:15:22 +01:00
cbmem.c mediatek/mt8173: detect sdram size at runtime 2016-03-12 09:14:33 +01:00
da9212.c mediatek/mt8173: Add da9212 driver 2016-03-21 23:11:47 +01:00
dramc_pi_basic_api.c mediatek/mt8173: Add EMI driver, DRAM initialization 2016-03-12 09:00:21 +01:00
dramc_pi_calibration_api.c mediatek/mt8173: Add EMI driver, DRAM initialization 2016-03-12 09:00:21 +01:00
emi.c mediatek/mt8173: Enable 4GB mode 2016-03-15 21:34:43 +01:00
flash_controller.c mediatek/mt8173: memlayout: Create DRAM DMA region for NOR flash DMA read. 2016-03-12 09:14:58 +01:00
gpio.c tree: drop last paragraph of GPL copyright header from new files 2016-01-13 20:35:40 +01:00
gpio_init.c tree: drop last paragraph of GPL copyright header from new files 2016-01-13 20:35:40 +01:00
i2c.c mediatek/mt8173: Provide I2C bus initialization API 2016-03-12 09:03:05 +01:00
Kconfig mediatek/mt8173: Enable ARM trusted firmware integration 2016-03-21 23:12:52 +01:00
Makefile.inc mediatek/mt8173: Remove bl31 board parameters passing mechanism 2016-03-21 23:12:36 +01:00
memory.c mediatek/mt8173: Add EMI driver, DRAM initialization 2016-03-12 09:00:21 +01:00
mmu_operations.c mediatek/mt8173: memlayout: Create DRAM DMA region for NOR flash DMA read. 2016-03-12 09:14:58 +01:00
mt6311.c mediatek/mt8173: Add mt6311 driver 2016-03-21 23:11:03 +01:00
mt6391.c mediatek/mt8173: mt6391: set VSRMCA7 to HW control by SRCVOLTEN 2016-03-18 18:56:23 +01:00
mtcmos.c mediatek/mt8173: Add mtcmos power-on control for audio and display 2016-01-22 19:37:05 +01:00
pll.c mediatek/mt8173: pll: raising the CPU core frequency 2016-03-12 09:12:13 +01:00
pmic_wrap.c tree: drop last paragraph of GPL copyright header from new files 2016-01-13 20:35:40 +01:00
rtc.c mediatek/mt8173: Add RTC driver 2016-01-22 19:36:46 +01:00
soc.c mediatek/mt8173: detect sdram size at runtime 2016-03-12 09:14:33 +01:00
spi.c mt8173: add SPI NOR support 2016-03-12 08:59:20 +01:00
timer.c tree: drop last paragraph of GPL copyright header from new files 2016-01-13 20:35:40 +01:00
uart.c soc/*: fix uart's regwidth specification in cbtables 2016-02-21 12:26:05 +01:00
usb.c mediatek/mt8173: Add usb phy driver 2016-01-22 20:06:53 +01:00
wdt.c google/oak: Log hardware watchdog in eventlog 2016-04-05 13:35:09 +02:00