Merge "msm_shared: Add support to match the boot device subtype in the DT."
diff --git a/platform/msm_shared/board.c b/platform/msm_shared/board.c
index fdc8553..fbbe62b 100644
--- a/platform/msm_shared/board.c
+++ b/platform/msm_shared/board.c
@@ -150,11 +150,11 @@
 		}
 
 		/* HLOS subtype
-		 * bit no                        |31    16 | 15          8 | 7     0|
-		 * board.platform_hlos_subtype = |reserved | DDR detection | subtype|
-		 *                               |  bits   |       bits    |        |
+		 * bit no                        |31    20 | 19        16| 15          8 | 7     0|
+		 * board.platform_hlos_subtype = |reserved | Boot device | DDR detection | subtype|
+		 *                               |  bits   |             |   bits        |
 		 */
-		board.platform_hlos_subtype = board_get_ddr_subtype() << 8;
+		board.platform_hlos_subtype = (board_get_ddr_subtype() << 8) | (platform_get_boot_dev() << 16);
 	}
 	else
 	{