[PATCH] mmc: MMC_NUM_PHY_PARTITION is not right.

2014-08-01 Thread yisun1
eMMC card can support up to 7 partitions, including 2 boot, 1 RPMB and 4 GPs. But MMC_NUM_PHY_PARTITION is defined to 6 so we should fix it to 7. Signed-off-by: yisun1 --- include/linux/mmc/card.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mmc/card.h b

[PATCH] mmc: execute tuning when device is not busy.

2014-07-31 Thread yisun1
We find tuning timeout because of the secure erase operation lasts too long so not to do tuning when device is busy. Signed-off-by: yisun1 --- drivers/mmc/host/sdhci.c |3 ++- drivers/mmc/host/sdhci.h |1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host

[PATCH] mmc: sdhci: support eMMC, SD, SDIO on Moorefield.

2014-07-14 Thread yisun1
This patch is to enable eMMC, SD and SDIO on Moorefield. Signed-off-by: yisun1 --- drivers/mmc/host/sdhci-pci.c | 62 ++ drivers/mmc/host/sdhci-pci.h |3 ++ 2 files changed, 65 insertions(+) diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc