summaryrefslogtreecommitdiff
path: root/src/mainboard/google/trogdor
diff options
context:
space:
mode:
authorRavi Kumar Bokka <rbokka@codeaurora.org>2020-09-10 01:20:48 +0530
committerJulius Werner <jwerner@chromium.org>2020-09-16 00:44:18 +0000
commit9c0b8ef83cb3b6c759a922d39a92e2a834dd7da1 (patch)
treecc6dcdd4b68eaba464b92081fa7f02c82bbc3038 /src/mainboard/google/trogdor
parent6fde4c56b08250590c392ecbad0b6e067633d5c4 (diff)
trogdor: invoke new watchdog function before qclib runs
Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org> Change-Id: Ia76323c749a9ba71cc752a91c968aeacc11e0093 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45212 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/trogdor')
-rw-r--r--src/mainboard/google/trogdor/romstage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/trogdor/romstage.c b/src/mainboard/google/trogdor/romstage.c
index 562e329d0e..8b6f1dec8d 100644
--- a/src/mainboard/google/trogdor/romstage.c
+++ b/src/mainboard/google/trogdor/romstage.c
@@ -3,6 +3,7 @@
#include <arch/stages.h>
#include <soc/usb.h>
#include <soc/qclib_common.h>
+#include <soc/watchdog.h>
static void prepare_usb(void)
{
@@ -17,6 +18,8 @@ void platform_romstage_main(void)
{
prepare_usb();
+ check_wdog();
+
/* QCLib: DDR init & train */
qclib_load_and_run();
}