target: msm8916: add support for checking hard reset reason

Use the spare register in PMIC power-on peripheral to store the device
restart reason and mark it as hard reset reason. So need to add function
to check the restart reason.

Change-Id: I17c020ffc8083d15e29e807782f83ab37433983c
diff --git a/include/platform.h b/include/platform.h
index b65395e..e71c407 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -53,6 +53,7 @@
 unsigned board_machtype(void);
 unsigned board_platform_id(void);
 unsigned check_reboot_mode(void);
+unsigned check_hard_reboot_mode(void);
 void platform_uninit_timer(void);
 void reboot_device(unsigned);
 int set_download_mode(enum dload_mode mode);