reboot: add reboot reason sys infterface [1/1]
authorHong Guo <hong.guo@amlogic.com>
Sat, 7 Sep 2019 07:21:22 +0000 (15:21 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 22 Oct 2019 08:47:08 +0000 (01:47 -0700)
commitfdc250b90f8cffdb46f3745fb8086587f216cf1c
treef6b1e42a8117d4d0d1121fb36fa86d862e5806a8
parentd508390213deafec07301a42e3e61077c33672ae
reboot: add reboot reason sys infterface [1/1]

PD#TV-9896

Problem:
provide sys interface to get last reboot reason

Solution:
add reboot reason sys infterface

Verify:
test pass on tl1_x301

Change-Id: I6c4046c892eff9f92506fadb0cddee7041c8f882
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
arch/arm/boot/dts/amlogic/mesontl1.dtsi
arch/arm64/boot/dts/amlogic/mesontl1.dtsi
drivers/amlogic/reboot/reboot.c