Re: OLPC XO-1 sdhci regression

From: Andres Salomon
Date: Fri Feb 20 2009 - 22:03:21 EST


On Fri, 20 Feb 2009 12:43:43 -0500
Andres Salomon <dilinger@xxxxxxxxxx> wrote:

> Hi Pierre,
>
> With the current Linus git tree, the sdhci driver fails to find the
> partition table on cards during bootup on OLPC XO-1 machines. This
> makes booting off of SD impossible. The errors go something like
> this:
>
[...]


A quirk proposed by Anton fixes the issue. The attached patch adds the
quirk for the Marvell CAFE controller.



Subject: [PATCH] SDHCI: Add NO_BUSY_IRQ quirk for Marvell CAFE host chip

As described here: http://lkml.org/lkml/2009/2/20/265

The CAFE chip is broken due to commit e809517f6fa5803a5a1cd56026f0e2190fc13d5c.
Anton added a quirk here: http://lkml.org/lkml/2009/2/20/279 that fixes
CAFE's problem. This adds the quirk for CAFE.

Obviously, this depends upon Anton's patch.

Signed-off-by: Andres Salomon <dilinger@xxxxxxxxxx>
---
drivers/mmc/host/sdhci-pci.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 8cff5f5..406da9a 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -107,6 +107,7 @@ static const struct sdhci_pci_fixes sdhci_ene_714 = {

static const struct sdhci_pci_fixes sdhci_cafe = {
.quirks = SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER |
+ SDHCI_QUIRK_NO_BUSY_IRQ |
SDHCI_QUIRK_BROKEN_TIMEOUT_VAL,
};

--
1.5.6.5



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/