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:
parent
6fde4c56b0
commit
9c0b8ef83c
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue