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:
Subrata Banik 2025-08-14 15:44:14 +05:30
commit 73de3f95ac

View file

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