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/target/init.c b/target/init.c
index 79e0466..c866187 100644
--- a/target/init.c
+++ b/target/init.c
@@ -1,6 +1,8 @@
 /*
  * Copyright (c) 2008 Travis Geiselbrecht
  *
+ * Copyright (c) 2015, The Linux Foundation. All rights reserved.
+ *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files
  * (the "Software"), to deal in the Software without restriction,
@@ -66,6 +68,11 @@
     return 0;
 }
 
+__WEAK unsigned check_hard_reboot_mode(void)
+{
+    return 0;
+}
+
 __WEAK void reboot_device(unsigned reboot_reason)
 {
 }