reboot: get corrent reboot reason in system panic [1/1]
authorHong Guo <hong.guo@amlogic.com>
Fri, 22 Feb 2019 09:18:35 +0000 (17:18 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 28 Feb 2019 03:04:18 +0000 (19:04 -0800)
commit69ff335badad17c13d146bcc50fc04c618264c70
treed12f171d70a43af3c96488b4d44e62e12f6acce5
parentdd8945224a2b0aa83d8fa9bb4a91b3fb9ad9374d
reboot: get corrent reboot reason in system panic [1/1]

PD#TV-2272

Problem:
can't get corrent reboot reason in system panic

Solution:
get corrent reboot reason in system panic

Verify:
test pass on T962x2_x301

Change-Id: If0fc95c2807d89542b4ccbc8e3709be20f17b03b
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
drivers/amlogic/reboot/reboot.c