From f03038b5ade9785b0fbeedf9b0cd5863bfbde963 Mon Sep 17 00:00:00 2001 From: James Maki Date: Mon, 11 Oct 2010 13:15:20 -0500 Subject: disable at91_add_device_ssc() --- .../mtcdp/linux-2.6.32.3-at91_mci.patch | 62 +++++++++++----------- 1 file changed, 31 insertions(+), 31 deletions(-) (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 index 8ef607f8ff..820ce7f756 100644 --- 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 @@ -1,39 +1,39 @@ -diff -urN -x CVS linux-2.6.32/drivers/mmc/host/at91_mci.c linux-2.6/drivers/mmc/host/at91_mci.c ---- linux-2.6.32/drivers/mmc/host/at91_mci.c 2010-01-28 20:30:25.000000000 +0200 -+++ linux-2.6/drivers/mmc/host/at91_mci.c 2009-12-14 21:55:58.000000000 +0200 -@@ -201,7 +201,7 @@ - len = data->sg_len; - - /* AT91SAM926[0/3] Data Write Operation and number of bytes erratum */ +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-10-11 10:16:06.000000000 -0500 +@@ -201,7 +201,7 @@ static inline void at91_mci_sg_to_dma(st + len = data->sg_len; + + /* AT91SAM926[0/3] Data Write Operation and number of bytes erratum */ - if (cpu_is_at91sam9260() || cpu_is_at91sam9263()) + if (cpu_is_at91sam9260() || cpu_is_at91sam9263() || cpu_is_at91sam9g20()) - if (host->total_length == 12) - memset(dmabuf, 0, 12); - -@@ -461,7 +461,7 @@ - at91_mci_write(host, AT91_MCI_DTOR, AT91_MCI_DTOMUL_1M | AT91_MCI_DTOCYC); - mr = AT91_MCI_PDCMODE | 0x34a; - + if (host->total_length == 12) + memset(dmabuf, 0, 12); + +@@ -461,7 +461,7 @@ static void at91_mci_enable(struct at91m + at91_mci_write(host, AT91_MCI_DTOR, AT91_MCI_DTOMUL_1M | AT91_MCI_DTOCYC); + mr = AT91_MCI_PDCMODE | 0x34a; + - if (cpu_is_at91sam9260() || cpu_is_at91sam9263()) + if (cpu_is_at91sam9260() || cpu_is_at91sam9263() || cpu_is_at91sam9g20()) - mr |= AT91_MCI_RDPROOF | AT91_MCI_WRPROOF; - - at91_mci_write(host, AT91_MCI_MR, mr); -@@ -617,7 +617,7 @@ - * AT91SAM926[0/3] Data Write Operation and - * number of bytes erratum - */ + mr |= AT91_MCI_RDPROOF | AT91_MCI_WRPROOF; + + at91_mci_write(host, AT91_MCI_MR, mr); +@@ -617,7 +617,7 @@ static void at91_mci_send_command(struct + * AT91SAM926[0/3] Data Write Operation and + * number of bytes erratum + */ - if (cpu_is_at91sam9260 () || cpu_is_at91sam9263()) + if (cpu_is_at91sam9260 () || cpu_is_at91sam9263() || cpu_is_at91sam9g20()) - if (host->total_length < 12) - host->total_length = 12; - -@@ -1017,7 +1017,7 @@ - host->bus_mode = 0; - host->board = pdev->dev.platform_data; - if (host->board->wire4) { + if (host->total_length < 12) + host->total_length = 12; + +@@ -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_at91sam9263() || cpu_is_at91sam9g20()) - mmc->caps |= MMC_CAP_4_BIT_DATA; - else - dev_warn(&pdev->dev, "4 wire bus mode not supported" + mmc->caps |= MMC_CAP_4_BIT_DATA; + else + dev_warn(&pdev->dev, "4 wire bus mode not supported" -- cgit v1.2.3