Skip to content
Commit 4beb51c5 authored by Casper Egholm Jørgensen's avatar Casper Egholm Jørgensen Committed by Carles Cufí
Browse files

drivers: src: hwinfo: Report reset cause for lockup_sysresetreq



Fix  incomplete reset cause to be reported for NXP MIMXRT1062-evkb.

In the event of a reset due to core lockup
or software reset request on a 1062 board,
the current NXP hwinfo driver reports an incomplete
reset cause (only Ipp reset pin).

This is happening because the 1062 uses a combined CPU lockup
and system reset request register bit that should be checked,
whereas the current driver only checks for the existence
of a lockup-only status bit.

This commit adds a check on the flag
FSL_FEATURE_SRC_HAS_SRSR_LOCKUP_SYSRESETREQ
already present in MIMXRT1062_features.h,
to report such a reset cause should it occur.

Signed-off-by: default avatarCasper Egholm Jørgensen <cjo@trackman.com>
parent 85c5a25e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment