diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-17 05:20:57 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-02 10:08:32 +0200 |
| commit | 1ab08790bb75e40cf35002edc26672d6b0e8004e (patch) | |
| tree | 876353c381510acc31ee6b0434ff595eeeff707e /include/hw/sd/sd.h | |
| parent | 572cdb1d9092e165d34f4ff8ab5483a97c6a99a2 (diff) | |
| download | focaccia-qemu-1ab08790bb75e40cf35002edc26672d6b0e8004e.tar.gz focaccia-qemu-1ab08790bb75e40cf35002edc26672d6b0e8004e.zip | |
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>
Diffstat (limited to 'include/hw/sd/sd.h')
| -rw-r--r-- | include/hw/sd/sd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hw/sd/sd.h b/include/hw/sd/sd.h index 2c8748fb9b..29c76935a0 100644 --- a/include/hw/sd/sd.h +++ b/include/hw/sd/sd.h @@ -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 */ |