[PATCH] mmc: atmel: Make write work on sama5d3

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Dec 13 06:13:04 PST 2022


On 02.11.18 10:14, Sascha Hauer wrote:
> On Fri, Nov 02, 2018 at 10:11:56AM +0100, Sascha Hauer wrote:
>> For some reason the sama5d3 needs a delay after a
>> MMC_CMD_STOP_TRANSMISSION command. Without it writing fails with:
>>
>> ERROR: atmel_mci f0000000.mmc at f0000000: command/data timeout
>> ERROR: atmel_mci f0000000.mmc at f0000000: command/data timeout
>>
>> The reason is not yet clear, so live with this hack for now.
> 
> I won't apply this one, just want to have that noted somewhere. If
> anyone has an idea please tell me, I am clueless :(

Issue still persists with SAMA5D4. I just sent a patch, which I think
may be a proper fix for this issue.

Cheers,
Ahmad

> 
> Sascha
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list