diff options
Diffstat (limited to 'include/hw/sd/sdhci.h')
-rw-r--r-- | include/hw/sd/sdhci.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/hw/sd/sdhci.h b/include/hw/sd/sdhci.h index 6cd2822..51fb30e 100644 --- a/include/hw/sd/sdhci.h +++ b/include/hw/sd/sdhci.h @@ -100,11 +100,16 @@ struct SDHCIState { uint8_t sd_spec_version; uint8_t uhs_mode; uint8_t vendor; /* For vendor specific functionality */ + /* + * Write Protect pin default active low for detecting SD card + * to be protected. Set wp_inverted to invert the signal. + */ + bool wp_inverted; }; typedef struct SDHCIState SDHCIState; #define SDHCI_VENDOR_NONE 0 -#define SDHCI_VENDOR_IMX 1 +#define SDHCI_VENDOR_FSL 2 /* * Controller does not provide transfer-complete interrupt when not |