samsung: misc: support to check reboot mode with inform register 80/81380/2
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 25 Jul 2016 12:04:15 +0000 (21:04 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 26 Jul 2016 05:40:52 +0000 (22:40 -0700)
commit237af68923caac29b00144857ed163c3f2ae0b82
tree9fe68ca80cb6575541aa51bee0243ae2e40d48de
parentbed13664795cc5c70f4847aa5c12d3c0154dd85f
samsung: misc: support to check reboot mode with inform register

To support the reboot mode, add the check_reboot_mode() function.
This function is checking which reboot mode is with INFORM register.
"inform-num" can get from device-tree with "samsung,reboot-mode"
compatible.

Change-Id: Ib3e201a6ab17afbc163376b139b1a9977fbf7fb6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/samsung/common/misc.c
include/samsung/misc.h