target: msm8974: Add support for 8994 interposer

Add support for 8994 interposer board, this needs disabling display
usb3 support and detect the new subtype for interposer board.

CRs-Fixed: 663154
Change-Id: Ia52243ddcc78df63da5a8da71df3de5546970fef
diff --git a/target/msm8974/init.c b/target/msm8974/init.c
index b3ee411..59f7ffd 100644
--- a/target/msm8974/init.c
+++ b/target/msm8974/init.c
@@ -51,6 +51,8 @@
 #include <platform/gpio.h>
 #include <stdlib.h>
 
+#define HW_PLATFORM_8994_INTERPOSER    0x3
+
 extern  bool target_use_signed_kernel(void);
 static void set_sdc_power_ctrl();
 
@@ -102,6 +104,11 @@
 #endif
 }
 
+uint32_t target_hw_interposer()
+{
+	return board_hardware_subtype() == HW_PLATFORM_8994_INTERPOSER ? 1 : 0;
+}
+
 /* Return 1 if vol_up pressed */
 static int target_volume_up()
 {
@@ -431,6 +438,7 @@
 	switch(platform_subtype) {
 	case HW_PLATFORM_SUBTYPE_UNKNOWN:
 	case HW_PLATFORM_SUBTYPE_8974PRO_PM8084:
+	case HW_PLATFORM_8994_INTERPOSER:
 		break;
 	default:
 		dprintf(CRITICAL, "Platform Subtype : %u is not supported\n",platform_subtype);
@@ -781,7 +789,7 @@
 		case MSM8974AB:
 		case MSM8974AC:
 			/* exceptions based on hardware id */
-			if (board_hardware_id() != HW_PLATFORM_DRAGON)
+			if (board_hardware_id() != HW_PLATFORM_DRAGON && !target_hw_interposer())
 				return "dwc";
 		/* fall through to default "ci" for anything that did'nt select "dwc" */
 		default: