[lk]: Add support for SSD implementation of image upgrade

Recovery sets bootloader messages in MISC partition as part of SSD
process.For NAND target, we set cookie in FOTA partition. For eMMC
target, recovery creates cookie file. We read the SSD update status
from the early boot chain and send it to recovery to finish up the
process.

Change-Id: I5d0d2dbe06bf1773fe9daaf6904f8e59a4c30ad4
diff --git a/target/msm7630_surf/init.c b/target/msm7630_surf/init.c
index b94c900..d9655fa 100644
--- a/target/msm7630_surf/init.c
+++ b/target/msm7630_surf/init.c
@@ -75,7 +75,7 @@
 	},
 	{
 		.start = DIFF_START_ADDR,
-		.length = 30 /* In MB */,
+		.length = 5 /* In MB */,
 		.name = "cache",
 	},
 	{
@@ -377,4 +377,11 @@
 	serialno =  mmc_get_psn();
 	sprintf(buf,"%x",serialno);
 }
+
+int emmc_recovery_init(void)
+{
+	int rc;
+	rc = _emmc_recovery_init();
+	return rc;
+}
 #endif