]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: Add common reset cause
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 9 Jan 2020 08:52:18 +0000 (14:22 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 Jan 2020 03:44:01 +0000 (11:44 +0800)
commit8f2d71b84728f951f6df5fc5e9757ce7e0142696
treef7036b969955018cd7e84721d5617aa41257cf48
parent38d5b8c2ae8322981fe496862ecc6331f0863df6
rockchip: Add common reset cause

Add cpu reset cause in common cpu-info file.

This would help to print the reset cause for
various resets.

Right now it support rk3288, rk3399. rest of rockchip
platforms doesn't have reset cause support ye but this
code is more feasible to extend the same.

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/include/asm/arch-rockchip/cru.h
arch/arm/include/asm/arch-rockchip/cru_rk3288.h
arch/arm/mach-rockchip/cpu-info.c
arch/arm/mach-rockchip/rk3288/rk3288.c