msm: platsmp: Turn on the CPU1 power rail on cold boot

Turn on the S6 power rail when cold-booting CPU1.

Change-Id: I5ea80caf3ba02b5c29b62a0f266f7439b3c0bdf1
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
diff --git a/arch/arm/mach-msm/platsmp.c b/arch/arm/mach-msm/platsmp.c
index 6dfb354..8085b82 100644
--- a/arch/arm/mach-msm/platsmp.c
+++ b/arch/arm/mach-msm/platsmp.c
@@ -27,6 +27,7 @@
 
 #include "pm.h"
 #include "scm-boot.h"
+#include "spm.h"
 
 int pen_release = -1;
 
@@ -90,6 +91,8 @@
 	if (!base_ptr)
 		return -ENODEV;
 
+	msm_spm_turn_on_cpu_rail(cpu);
+
 	writel_relaxed(0x109, base_ptr+0x04);
 	writel_relaxed(0x101, base_ptr+0x04);
 	ndelay(300);