mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
sdcard: Add a 'spec_version' property, default to Spec v2.00
As of this commit, the Spec v1 is not working, and all controllers expect the cards to be conformant to Spec v2. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20180607180641.874-4-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
e2fce16edb
commit
2f0939c234
2 changed files with 25 additions and 3 deletions
|
@ -54,6 +54,11 @@
|
|||
#define APP_CMD (1 << 5)
|
||||
#define AKE_SEQ_ERROR (1 << 3)
|
||||
|
||||
enum SDPhySpecificationVersion {
|
||||
SD_PHY_SPECv1_10_VERS = 1,
|
||||
SD_PHY_SPECv2_00_VERS = 2,
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
SD_VOLTAGE_0_4V = 400, /* currently not supported */
|
||||
SD_VOLTAGE_1_8V = 1800,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue