public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Revert "AT91:mmc:fix multiple read/write error"
@ 2011-07-29  1:47 Andy Fleming
  2011-08-02 20:19 ` Reinhard Meyer
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Fleming @ 2011-07-29  1:47 UTC (permalink / raw)
  To: u-boot

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>
---
I have pushed this up to my repository, and will submit a pull request if Reinhard agrees

 drivers/mmc/atmel_mci.h     |    9 +--------
 drivers/mmc/gen_atmel_mci.c |    4 ----
 2 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/drivers/mmc/atmel_mci.h b/drivers/mmc/atmel_mci.h
index 3095d22..90ab6a8 100644
--- a/drivers/mmc/atmel_mci.h
+++ b/drivers/mmc/atmel_mci.h
@@ -36,7 +36,7 @@ typedef struct atmel_mci {
 	u32	sdcr;	/* 0x0c */
 	u32	argr;	/* 0x10 */
 	u32	cmdr;	/* 0x14 */
-	u32	blkr;	/* 0x18 */
+	u32	_18;	/* 0x18 */
 	u32	_1c;	/* 0x1c */
 	u32	rspr;	/* 0x20 */
 	u32	rspr1;	/* 0x24 */
@@ -67,7 +67,6 @@ typedef struct atmel_mci {
 #define MMCI_SDCR				0x000c
 #define MMCI_ARGR				0x0010
 #define MMCI_CMDR				0x0014
-#define MMCI_BLKR				0x0018
 #define MMCI_RSPR				0x0020
 #define MMCI_RSPR1				0x0024
 #define MMCI_RSPR2				0x0028
@@ -141,12 +140,6 @@ typedef struct atmel_mci {
 #define MMCI_TRTYP_OFFSET			19
 #define MMCI_TRTYP_SIZE				2
 
-/* Bitfields in BLKR */
-#define MMCI_BCNT_OFFSET			0
-#define MMCI_BCNT_SIZE				16
-#define MMCI_BLKLEN_OFFSET			16
-#define MMCI_BLKLEN_SIZE			16
-
 /* Bitfields in RSPRx */
 #define MMCI_RSP_OFFSET				0
 #define MMCI_RSP_SIZE				32
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);
-- 
1.6.5.2.g6ff9a

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] Revert "AT91:mmc:fix multiple read/write error"
  2011-07-29  1:47 [U-Boot] [PATCH] Revert "AT91:mmc:fix multiple read/write error" Andy Fleming
@ 2011-08-02 20:19 ` Reinhard Meyer
  2011-08-03  1:37   ` Song, Elen
  0 siblings, 1 reply; 3+ messages in thread
From: Reinhard Meyer @ 2011-08-02 20:19 UTC (permalink / raw)
  To: u-boot

Dear Andy,
> This reverts commit c310fc840472a36e4b9d2505830e9dc8d458d63c.
> 
> The Atmel custodian had apparently rejected this patch's approach in
> another thread, so this patch reverts it for now.

[U-Boot] [Question]AT91: MMC read and multiple read failed

> Signed-off-by: Andy Fleming <afleming@freescale.com>
> ---
> I have pushed this up to my repository, and will submit a pull request if Reinhard agrees

Agreed, Thank you!
Best Regards,
Reinhard

PS: is your clock OK ? Your mail is dated from last Friday :)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] Revert "AT91:mmc:fix multiple read/write error"
  2011-08-02 20:19 ` Reinhard Meyer
@ 2011-08-03  1:37   ` Song, Elen
  0 siblings, 0 replies; 3+ messages in thread
From: Song, Elen @ 2011-08-03  1:37 UTC (permalink / raw)
  To: u-boot



-----Original Message-----
From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Reinhard Meyer
Sent: 2011?8?3? 4:19
To: Andy Fleming
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH] Revert "AT91:mmc:fix multiple read/write error"

Dear Reinhard, Andy
>> This reverts commit c310fc840472a36e4b9d2505830e9dc8d458d63c.
>> 
>> The Atmel custodian had apparently rejected this patch's approach in
>> another thread, so this patch reverts it for now.

[U-Boot] [Question]AT91: MMC read and multiple read failed
I remember CC the patch to you:
From: elen.song [mailto:elen.song at atmel.com]
Sent: 2011?7?12? 18:17
To: u-boot at emk-elektronik.de
Cc: u-boot at lists.denx.de; Song, Elen
Subject: [PATCH] AT91:mmc:fix multiple read/write error 

Anyway,is there any problem with the patch?
And for support mmc on other boards later,should I send the email to you or Andy?

>> Signed-off-by: Andy Fleming <afleming@freescale.com>
>> ---
>> I have pushed this up to my repository, and will submit a pull request if >Reinhard agrees

Thank you!
Best Regards,
Elen

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-03  1:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29  1:47 [U-Boot] [PATCH] Revert "AT91:mmc:fix multiple read/write error" Andy Fleming
2011-08-02 20:19 ` Reinhard Meyer
2011-08-03  1:37   ` Song, Elen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox