Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This commit is contained in:
Lucien Mueller 2021-09-16 14:38:16 +02:00
parent 68ad3ed097
commit db490a60ea
1 changed files with 7 additions and 0 deletions

View File

@ -644,6 +644,13 @@ static void check_reset_reason(uint64_t reset_reason_shm_location)
}
}
sc_ipc_t ipcHndl = 0;
ipcHndl = gd->arch.ipc_channel_handle;
sc_pm_reset_reason_t sc_rr;
sc_err_t err = sc_pm_reset_reason(ipcHndl, &sc_rr);
printf("sc_pm_reset_reason: %x ; err: %d\n", sc_rr, err);
/*
* Check Wakeup Events
* Event Register A holds: