platform: msm_shared: Check SDCC version before enabling hs400 mode

SDHC open spec does not support hs400 mode, so the existing driver
was using SDR104 capability from host to enable hs400 mode. SDR104
mode only corresponds to hs200 mode, instead we should read SDCC
version register to find out if host supports hs400 mode.
SDCC5 supports hs400 mode, so enable hs400 mode only if the host
controller version is SDCC5 or greater.

CRs-Fixed: 609007
Change-Id: I41a5e388de8254c55425f4514bb00e2bdabecac7
diff --git a/platform/msm_shared/include/sdhci.h b/platform/msm_shared/include/sdhci.h
index b7061dd..a14b3b5 100644
--- a/platform/msm_shared/include/sdhci.h
+++ b/platform/msm_shared/include/sdhci.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2014, 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
@@ -48,6 +48,7 @@
 	uint8_t ddr_support;     /* Dual Data rate */
 	uint8_t sdr50_support;   /* UHS mode, with 100 MHZ clock */
 	uint8_t sdr104_support;  /* UHS mode, with 200 MHZ clock */
+	uint8_t hs400_support;   /* Hs400 mode, with 400 MHZ clock */
 };
 
 /*