]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3288: Add reset reason detection
authorWadim Egorov <w.egorov@phytec.de>
Mon, 21 Aug 2017 11:36:57 +0000 (13:36 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 5 Sep 2017 09:04:35 +0000 (11:04 +0200)
commit40d4f79b819588751a07a01c40bab5173f4e5a73
tree8060696b90c3a3b71ead285a44fca415ea6426f2
parent32191a3912018b2dd3645cfe9c52ae3eb1031e30
rockchip: rk3288: Add reset reason detection

Sometimes it's helpful to know the reset reason caused in the SoC.
Add reset reason detection for the RK3288 SoC.
This will set an environment variable which represents the reset reason.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/include/asm/arch-rockchip/cru_rk3288.h
arch/arm/mach-rockchip/rk3288-board.c