msm8660: Add support to detect platform subtype

board_info v5 does not always detect fused chip correctly.
As a result board_info v6 has new entries to detect platform
subtype and thats what we want to use eventually.

Adding support for board_info v6 structure, while maintining
support for board_info v5 for the time being.

Change-Id: I46447edd561f1d9e306741f0113c3e2ef17ae3e1
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c
index 0ff82e1..31635ea 100644
--- a/app/aboot/aboot.c
+++ b/app/aboot/aboot.c
@@ -64,10 +64,10 @@
 static const char *emmc_cmdline = " androidboot.emmc=true";
 static const char *battchg_pause = " androidboot.battchg_pause=true";
 
-static const char *baseband_apq   = " androidboot.baseband=apq";
-static const char *baseband_msm   = " androidboot.baseband=msm";
-static const char *baseband_csfb  = " androidboot.baseband=csfb";
-static const char *baseband_svlte = " androidboot.baseband=svlte";
+static const char *baseband_apq     = " androidboot.baseband=apq";
+static const char *baseband_msm     = " androidboot.baseband=msm";
+static const char *baseband_csfb    = " androidboot.baseband=csfb";
+static const char *baseband_svlte2a = " androidboot.baseband=svlte2a";
 
 static struct udc_device surf_udc_device = {
 	.vendor_id	= 0x18d1,
@@ -184,8 +184,8 @@
 			cmdline_len += strlen(baseband_csfb);
 			break;
 
-		case BASEBAND_SVLTE:
-			cmdline_len += strlen(baseband_svlte);
+		case BASEBAND_SVLTE2A:
+			cmdline_len += strlen(baseband_svlte2a);
 			break;
 	}
 
@@ -234,8 +234,8 @@
 				while ((*dst++ = *src++));
 				break;
 
-			case BASEBAND_SVLTE:
-				src = baseband_svlte;
+			case BASEBAND_SVLTE2A:
+				src = baseband_svlte2a;
 				if (have_cmdline) --dst;
 				while ((*dst++ = *src++));
 				break;