commit | 6ed4d26c21e46ed00ea65679b40aaf967d043dfd | [log] [tgz] |
---|---|---|
author | Max Krummenacher <max.krummenacher@toradex.com> | Fri Feb 01 16:04:51 2019 +0100 |
committer | Stefano Babic <sbabic@denx.de> | Fri Feb 15 22:01:15 2019 +0100 |
tree | ef2d5af9867446c7f01267a773d85e2430439232 | |
parent | a24532083c78fd599807e0af58410a5b406330b5 [diff] |
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>