platform: Add support for sdxhedgehog

Add the required clock, platform id changes to support
sdxhedgehog.
Update the QUSB2 reset sequence on sdxhedgehog.

CRs-Fixed: 1076197
Change-Id: I8aa00b487b8366b8e294c8d98f434ff800f52d1b
diff --git a/platform/mdm9640/platform.c b/platform/mdm9640/platform.c
index f69053c..29181be 100644
--- a/platform/mdm9640/platform.c
+++ b/platform/mdm9640/platform.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
@@ -177,11 +177,28 @@
 	return ret;
 }
 
+bool platform_is_sdxhedgehog()
+{
+	uint32_t platform_id = board_platform_id();
+	bool ret;
+
+	switch(platform_id)
+	{
+		case SDXHEDGEHOG:
+				ret = true;
+				break;
+		default:
+				ret = false;
+	};
+
+	return ret;
+}
+
 uint32_t platform_boot_config()
 {
 	uint32_t boot_config;
 
-	if (platform_is_mdmcalifornium())
+	if (platform_is_mdmcalifornium() || platform_is_sdxhedgehog())
 		boot_config = BOOT_CONFIG_REG_V2;
 	/* Else the platform is 9x45 */
 	else if (board_soc_version() >= 0x20000)