]> git.baikalelectronics.ru Git - uboot.git/commit
imx9: soc: support reset cause
authorPeng Fan <peng.fan@nxp.com>
Fri, 28 Apr 2023 04:08:27 +0000 (12:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 21 May 2023 14:54:40 +0000 (16:54 +0200)
commit1275f4eb0f3cd026642ff2fc6052af87c164a7c0
tree3d5e86b5634fde5d9fd995738f462a01a9960eb4
parent4309e55ff4143f7850a0e9c5dccc2df4c9cdd0b0
imx9: soc: support reset cause

Support print reset cause. Since SRSR is not accessible from non-secure
world, so first save it to grp0, then read it in non-secure world.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx9/soc.c