]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/linux/mmc/dw_mmc.h
mmc: dw_mmc: Add "disable-wp" device tree property
[linux-beck.git] / include / linux / mmc / dw_mmc.h
index 34be4f47293caa906ee7a8d5d2148897a4adff4a..de61de5608c9a1632ff4bd58bcb4c59e16d11a91 100644 (file)
@@ -209,9 +209,18 @@ struct dw_mci_dma_ops {
 #define DW_MCI_QUIRK_HIGHSPEED                 BIT(2)
 /* Unreliable card detection */
 #define DW_MCI_QUIRK_BROKEN_CARD_DETECTION     BIT(3)
+
 /* Write Protect detection not available */
+/*
+ * NOTE: DW_MCI_QUIRK_NO_WRITE_PROTECT will be removed in a future
+ * patch in the series once reference to it is removed.
+ */
 #define DW_MCI_QUIRK_NO_WRITE_PROTECT          BIT(4)
 
+/* Slot level quirks */
+/* This slot has no write protect */
+#define DW_MCI_SLOT_QUIRK_NO_WRITE_PROTECT     BIT(0)
+
 struct dma_pdata;
 
 struct block_settings {