commit | ed99c541e0a15281c57530d54a4a5e3272f74fb9 | [log] [tgz] |
---|---|---|
author | Nicolas Ferre <nicolas.ferre@rfo.atmel.com> | Mon Jul 09 14:58:16 2007 +0200 |
committer | Pierre Ossman <drzeus@drzeus.cx> | Mon Jul 09 21:29:07 2007 +0200 |
tree | 55c5a90415b6d793cd952e85982163b0511d3073 | |
parent | e8d04d3dba60bdc139644350fcc88f82e40129dc [diff] |
mmc: at91_mci: fix hanging and rework to match flowcharts Fixes hanging using multi block operations (seen during CMD25). Follows closely the datasheet flowcharts. This piece of code handles better big file writing. I had to take care of the notbusy signal during write (at91_mci_handle_cmdrdy function) and to rearrange the AT91_MCI_ENDRX and AT91_MCI_RXBUFF flag usage. Signed-off-by: Nicolas Ferre <nicolas.ferre@rfo.atmel.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>