imx8ulp: soc: correct reset cause
authorPeng Fan <peng.fan@nxp.com>
Sat, 7 Aug 2021 08:01:06 +0000 (16:01 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 12:46:51 +0000 (14:46 +0200)
commit8a58897e0e380fa03438809e71aa7d91b80aec95
treebeb23e7558059eec4b65d1d6c32fcbb34c851f81
parentd24c7d54f032bdb26e1d290f82ebd2f7d247d93d
imx8ulp: soc: correct reset cause

The CMC1 SRS reflects the current reset cause, not SSRS.

Then you could get "Reset cause: WARM-WDG" when issue reset in U-Boot.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8ulp/soc.c