]> git.dujemihanovic.xyz Git - u-boot.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)
commitee6321fa14050e54211acd49e8b6890ee15b2518
treef7036b969955018cd7e84721d5617aa41257cf48
parentb52a199e323e68ff5cbda4feb03731cb0d39587a
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