msm8610: Enable the long press power on feature
Add shutdown detection in target init. We will choose shutdown
device when the power key is pressed not long enough.
CRs-Fixed: 646440
Change-Id: I7bc50766e0062decbe230318d90693b86b1fbb29
diff --git a/target/msm8610/init.c b/target/msm8610/init.c
index 5084ae0..832b0ae 100644
--- a/target/msm8610/init.c
+++ b/target/msm8610/init.c
@@ -49,6 +49,7 @@
#include <partition_parser.h>
#include <platform/clock.h>
#include <platform/timer.h>
+#include <shutdown_detect.h>
#define PMIC_ARB_CHANNEL_NUM 0
#define PMIC_ARB_OWNER_ID 0
@@ -163,6 +164,8 @@
target_keystatus();
target_sdc_init();
+
+ shutdown_detect();
}
void target_uninit(void)