]> git.baikalelectronics.ru Git - uboot.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)
commit7cd6673cfe3cff74131acfdaa33ffa25136aefa3
tree8060696b90c3a3b71ead285a44fca415ea6426f2
parent31c37c728af3eff753d76170de2b8ce34b4cb9d2
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