summaryrefslogtreecommitdiff
path: root/drivers/mmc/gen_atmel_mci.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2011-07-28 20:47:02 -0500
committerAndy Fleming <afleming@freescale.com>2011-07-28 20:47:15 -0500
commit0011401dfeb5699c8179c49f003ac1180aa2bf95 (patch)
tree052d2a129274d536e100d0348767faad0ed16761 /drivers/mmc/gen_atmel_mci.c
parent33a6b9e90bfd56ed389f37470534eede0773cdd7 (diff)
downloadu-boot-imx-0011401dfeb5699c8179c49f003ac1180aa2bf95.zip
u-boot-imx-0011401dfeb5699c8179c49f003ac1180aa2bf95.tar.gz
u-boot-imx-0011401dfeb5699c8179c49f003ac1180aa2bf95.tar.bz2
Revert "AT91:mmc:fix multiple read/write error"
This reverts commit c310fc840472a36e4b9d2505830e9dc8d458d63c. The Atmel custodian had apparently rejected this patch's approach in another thread, so this patch reverts it for now. Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers/mmc/gen_atmel_mci.c')
-rw-r--r--drivers/mmc/gen_atmel_mci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c
index d217574..f346b24 100644
--- a/drivers/mmc/gen_atmel_mci.c
+++ b/drivers/mmc/gen_atmel_mci.c
@@ -183,10 +183,6 @@ mci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data)
/* Figure out the transfer arguments */
cmdr = mci_encode_cmd(cmd, data, &error_flags);
- if (data)
- writel(MMCI_BF(BCNT, data->blocks) |
- MMCI_BF(BLKLEN, mmc->read_bl_len), &mci->blkr);
-
/* Send the command */
writel(cmd->cmdarg, &mci->argr);
writel(cmdr, &mci->cmdr);