From 04b7f6c327cbf5d900883c1e614aecfa77bb40c1 Mon Sep 17 00:00:00 2001 From: James Maki Date: Fri, 17 Sep 2010 11:28:44 -0500 Subject: update linux-2.6.32.3 kernel patches - patch at91_mci to use 4 wire mode for sam9g20 --- .../linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch (limited to 'recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch') diff --git a/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch b/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch new file mode 100644 index 0000000000..3d4296aebd --- /dev/null +++ b/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch @@ -0,0 +1,12 @@ +diff -uprN -X linux-2.6.32.3/Documentation/dontdiff linux-2.6.32.3-vanilla/drivers/mmc/host/at91_mci.c linux-2.6.32.3/drivers/mmc/host/at91_mci.c +--- linux-2.6.32.3-vanilla/drivers/mmc/host/at91_mci.c 2010-01-06 17:07:45.000000000 -0600 ++++ linux-2.6.32.3/drivers/mmc/host/at91_mci.c 2010-09-17 10:42:23.000000000 -0500 +@@ -1017,7 +1017,7 @@ static int __init at91_mci_probe(struct + host->bus_mode = 0; + host->board = pdev->dev.platform_data; + if (host->board->wire4) { +- if (cpu_is_at91sam9260() || cpu_is_at91sam9263()) ++ if (cpu_is_at91sam9260() || cpu_is_at91sam9g20() || cpu_is_at91sam9263()) + mmc->caps |= MMC_CAP_4_BIT_DATA; + else + dev_warn(&pdev->dev, "4 wire bus mode not supported" -- cgit v1.2.3