]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitf4e7ea2dc3c48bf97ffa234e9025feacf42af8fe
treebeb23e7558059eec4b65d1d6c32fcbb34c851f81
parenta5edd8a67826ae16a38907b640e3997a22037fb6
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