hw/sd/sdcard: Consolidate SDProto::cmd[] arrays
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] hw/sd/sdcard: Consolidate SDProto::cmd[] arrays
Use the SDProto structure to handle command properties such name, type, class and handler.
Add stubs for optional commands to ease tracing.
Based-on: <[email protected]>
Full series for testing:
https://gitlab.com/philmd/qemu/-/tags/emmc-v4
Philippe Mathieu-Daudé (11):
hw/sd/sdcard: Move sd_[a]cmd_name() methods to sd.c hw/sd/sdcard: Pass SDState as argument to sd_[a]cmd_name() hw/sd/sdcard: Prepare SDProto to contain more fields hw/sd/sdcard: Store command name in SDProto hw/sd/sdcard: Store command type in SDProto hw/sd/sdcard: Store command class in SDProto hw/sd/sdcard: Remove SEND_DSR dead case (CMD4) hw/sd/sdcard: Register generic optional handlers (CMD11 and CMD20) hw/sd/sdcard: Register optional handlers from spec v6.00 hw/sd/sdcard: Register SDIO optional handlers hw/sd/sdcard: Register Security Extension optional handlers
hw/sd/sdmmc-internal.h | 26 ------ include/hw/sd/sd.h | 5 +- hw/sd/sd.c | 192 ++++++++++++++++++++++++++++++----------- hw/sd/sdmmc-internal.c | 72 ---------------- hw/sd/meson.build | 2 +- 5 files changed, 144 insertions(+), 153 deletions(-) delete mode 100644 hw/sd/sdmmc-internal.c
Signature · 1 line
2.41.0