Re: [RFC PATCH 00/10] hw/sd: Start splitting SD vs SPI protocols

2021-06-28 Thread Cédric Le Goater
On 6/24/21 4:21 PM, Philippe Mathieu-Daudé wrote: > Hi Cédric, > > After our discussion yesterday about how to add support for MMC > (and eMMC) I looked at how to easily add these bus protocols, > which might have commands quite different, avoiding to have big > unreadable if/else statements. > >

[RFC PATCH 00/10] hw/sd: Start splitting SD vs SPI protocols

2021-06-24 Thread Philippe Mathieu-Daudé
Hi Cédric, After our discussion yesterday about how to add support for MMC (and eMMC) I looked at how to easily add these bus protocols, which might have commands quite different, avoiding to have big unreadable if/else statements. I'm not yet happy enough with the result but it is a starting poi