REVERT ME: Define CONFIG_BOARD_MRFLD_HVP
authorYunpeng Gao <yunpeng.gao@intel.com>
Fri, 23 Mar 2012 02:52:41 +0000 (10:52 +0800)
committerbuildbot <buildbot@intel.com>
Thu, 29 Mar 2012 10:38:00 +0000 (03:38 -0700)
BZ: 27386

Merrifield HVP platform only implemented 1 storage
host controller - eMMC0. Other 3 storage host controllers
are not existed in FPGA at all.

So the storage driver needs to know the board type
and prevent initialization to the 3 non-existen
host controllers if on the HVP board.

Actually, the board type macro CONFIG_BOARD_MRFLD_HVP
should be defined in arch/x86/Kconfig and enabled in
Merrifeld board specific configuration file. But now
these changes are not introduced yet. So this patch
just set it in mmc driver to make sure the storage
driver working on HVP board.

Once the macro defined and enabled in board specific
configuration file, this patch should be reverted.

Change-Id: I40f1aef2bbb6c3336cb64aa7fe2fdc734eec5126
Signed-off-by: Yunpeng Gao <yunpeng.gao@intel.com>
Reviewed-on: http://android.intel.com:8080/40287
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/mmc/host/sdhci-pci.c

index 1adc585..c02b5dd 100644 (file)
@@ -409,6 +409,7 @@ static const struct sdhci_pci_fixes sdhci_intel_mfd_emmc = {
        .remove_slot    = mfd_emmc_remove_slot,
 };
 
+#define CONFIG_BOARD_MRFLD_HVP 1
 static int intel_mrfl_mmc_probe(struct sdhci_pci_chip *chip)
 {
        int ret = 0;