Message ID | C9816D50-7A48-4A2E-BECA-F461C7AAF176@marvell.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/mmc/host/sdhci-pxa.c b/drivers/mmc/host/sdhci-pxa.c index ec70d14..c8abf0f 100644 --- a/drivers/mmc/host/sdhci-pxa.c +++ b/drivers/mmc/host/sdhci-pxa.c @@ -131,6 +131,11 @@ static int __devinit sdhci_pxa_probe(struct platform_device *pdev) if (pdata->flags & PXA_FLAG_SD_8_BIT_CAPABLE_SLOT) host->mmc->caps |= MMC_CAP_8_BIT_DATA; + if (pdata->flags & PXA_FLAG_CARD_PERMANENT) { + host->mmc->caps |= MMC_CAP_NONREMOVABLE; + host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; + } + /* do not rely on u-boot to enable the clocks */ enable_clock(host);
eMMC and Wifi cards that are fixed to the board are marked permanent in the developemnt board files (eg brownstone.c for mmp2) The platform specific code nows informs the mmc layer about this. Signed-off-by: Philip Rakity <prakity@marvell.com> --- drivers/mmc/host/sdhci-pxa.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)