mmc: block: support no access to boot partitions
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 23 Sep 2011 09:48:21 +0000 (12:48 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:15 +0000 (16:32 -0400)
commitf7c56ef2af5ae7e4c24c3c79427b38d18ba1d294
tree5590da07839d9a07b7811a8fe0104aaa596e03dc
parent0d7d85ca6e5dc7bd426d1d5989a44e93e8c7a0d3
mmc: block: support no access to boot partitions

Intel Medfield platform blocks access to eMMC boot partitions which
results in switch errors.  Since there is no access, mmcboot0/1
devices should not be created.  Add a host capability to reflect that.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c
drivers/mmc/host/sdhci-pci.c
include/linux/mmc/host.h