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)
commit25081442377c11a267c3491fb264eafc530ea1f6
tree22c6df75b683501e238bcc59479bff433af39bfd
parent75447501ec986a2f9d3f1db9e53f79a3e24ded62
REVERT ME: Define CONFIG_BOARD_MRFLD_HVP

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