mvebu_mmc: Speed up access time
PATCH 1/1 mvebu_mmc: Speed up access time
Remove udelay, because card status is polled in a loop.
--- drivers/mmc/mvebu_mmc.c | 2 -- 1 file changed, 2 deletions(-)
drivers/mmc/mvebu_mmc.c +0 -2
@@ -72,8 +72,6 @@ static int mvebu_mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,debug ("cmdidx [0x%x] resp_type[0x%x] cmdarg[0x%x]\n" , cmd->cmdidx, cmd->resp_type, cmd->cmdarg); -udelay (10 *1000 ); -debug ("%s: cmd %d (hw state 0x%04x)\n" ,DRIVER_NAME , cmd->cmdidx,mvebu_mmc_read (SDIO_HW_STATE ));
Signature · 1 line
1.8.4.5
PATCH 1/1 mvebu_mmc: Speed up access time
Hi Mario,
I test this patch but it is unsuccessfull with the seevaplug :
After upgrade with U-Boot 2015.01-rc2-dirty (Nov 25 2014 - 08:10:39) Marvell-Sheevaplug
Marvell>> mmc listMVEBU_MMC: 0
Marvell>> mmc part
Marvell>> mmc dev 0 1
Card did not respond to voltage select!
Marvell>> mmc rescan
Marvell>> ext2ls mmc 0:1
** Bad device mmc 0 **
Marvell>>
The same master branch (without your patch) work as before...
The udelay removal get the MVEBU_MMC driver bug with sheevaplug.
Regards,
G?rald
Le 03/11/2014 20:36, Mario Schuknecht a ?crit :
Quoted 13 lines
Remove udelay, because card status is polled in a loop.
Signed-off-by Mario Schuknecht <[email protected]>--- drivers/mmc/mvebu_mmc.c | 2 -- 1 file changed, 2 deletions(-)drivers/mmc/mvebu_mmc.c +0
-0
drivers/mmc/mvebu_mmc.c static int mvebu_mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, · line 77
Quoted 8 lines
drivers/mmc/mvebu_mmc.c +0
-2@@ -72,8 +72,6 @@ static int mvebu_mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,debug ("cmdidx [0x%x] resp_type[0x%x] cmdarg[0x%x]\n" , cmd->cmdidx, cmd->resp_type, cmd->cmdarg); -udelay (10 *1000 ); -debug ("%s: cmd %d (hw state 0x%04x)\n" ,DRIVER_NAME , cmd->cmdidx,mvebu_mmc_read (SDIO_HW_STATE ));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141126/68353cc3/attachment.pgp>