mb/google/bluey: Support hardware watchdog logging
This patch adds support for hardware watchdog event logging which is useful while debugging crashes or abnormal shutdown. TEST=Able to build and boot google/bluey. Change-Id: Iaa60e4eb564a1f517b979c2007707746f3453092 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88775 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
25e0a4642c
commit
73de3f95ac
1 changed files with 4 additions and 0 deletions
|
|
@ -6,9 +6,13 @@
|
|||
#include <soc/aop_common.h>
|
||||
#include <soc/qclib_common.h>
|
||||
#include <soc/shrm.h>
|
||||
#include <soc/watchdog.h>
|
||||
|
||||
void platform_romstage_main(void)
|
||||
{
|
||||
/* Watchdog must be checked first to avoid erasing watchdog info later. */
|
||||
check_wdog();
|
||||
|
||||
shrm_fw_load_reset();
|
||||
|
||||
/* QCLib: DDR init & train */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue