mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
hw/sd/sdcard: Store command type in SDProto
Store the command type altogether with the command handler and name. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Message-Id: <20240628070216.92609-41-philmd@linaro.org>
This commit is contained in:
parent
572cdb1d90
commit
1ab08790bb
2 changed files with 23 additions and 26 deletions
|
@ -76,8 +76,9 @@ typedef enum {
|
|||
} sd_uhs_mode_t;
|
||||
|
||||
typedef enum {
|
||||
sd_none = -1,
|
||||
sd_bc = 0, /* broadcast -- no response */
|
||||
sd_none = 0,
|
||||
sd_spi,
|
||||
sd_bc, /* broadcast -- no response */
|
||||
sd_bcr, /* broadcast with response */
|
||||
sd_ac, /* addressed -- no data transfer */
|
||||
sd_adtc, /* addressed with data transfer */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue