]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: cpu.c: give access to reset cause in spl
authorMax Krummenacher <max.krummenacher@toradex.com>
Fri, 1 Feb 2019 15:04:51 +0000 (16:04 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 15 Feb 2019 21:01:15 +0000 (22:01 +0100)
commit6ed4d26c21e46ed00ea65679b40aaf967d043dfd
treeef2d5af9867446c7f01267a773d85e2430439232
parenta24532083c78fd599807e0af58410a5b406330b5
imx: cpu.c: give access to reset cause in spl

This makes get_imx_reset_cause() accessible in SPL, but keeps the SRSR
register content intact so that U-Boot proper can evaluated the
reset_cause again should this be needed.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/mach-imx/cpu.c