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>
This commit is contained in:
Ravi Kumar Bokka 2020-09-10 01:20:48 +05:30 committed by Julius Werner
parent 6fde4c56b0
commit 9c0b8ef83c
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include <arch/stages.h> #include <arch/stages.h>
#include <soc/usb.h> #include <soc/usb.h>
#include <soc/qclib_common.h> #include <soc/qclib_common.h>
#include <soc/watchdog.h>
static void prepare_usb(void) static void prepare_usb(void)
{ {
@ -17,6 +18,8 @@ void platform_romstage_main(void)
{ {
prepare_usb(); prepare_usb();
check_wdog();
/* QCLib: DDR init & train */ /* QCLib: DDR init & train */
qclib_load_and_run(); qclib_load_and_run();
} }