Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/sdhci/sdhci.h
| Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | |||||
| /* Controller support for SDHCI_CTRL2_PRESET_VALUE is broken. */ | /* Controller support for SDHCI_CTRL2_PRESET_VALUE is broken. */ | ||||
| #define SDHCI_QUIRK_PRESET_VALUE_BROKEN (1 << 27) | #define SDHCI_QUIRK_PRESET_VALUE_BROKEN (1 << 27) | ||||
| /* Controller does not support or the support for ACMD12 is broken. */ | /* Controller does not support or the support for ACMD12 is broken. */ | ||||
| #define SDHCI_QUIRK_BROKEN_AUTO_STOP (1 << 28) | #define SDHCI_QUIRK_BROKEN_AUTO_STOP (1 << 28) | ||||
| /* Controller supports eMMC HS400 mode if SDHCI_CAN_SDR104 is set. */ | /* Controller supports eMMC HS400 mode if SDHCI_CAN_SDR104 is set. */ | ||||
| #define SDHCI_QUIRK_MMC_HS400_IF_CAN_SDR104 (1 << 29) | #define SDHCI_QUIRK_MMC_HS400_IF_CAN_SDR104 (1 << 29) | ||||
| /* SDMA boundary in SDHCI_BLOCK_SIZE broken - use front-end supplied value. */ | /* SDMA boundary in SDHCI_BLOCK_SIZE broken - use front-end supplied value. */ | ||||
| #define SDHCI_QUIRK_BROKEN_SDMA_BOUNDARY (1 << 30) | #define SDHCI_QUIRK_BROKEN_SDMA_BOUNDARY (1 << 30) | ||||
| /* Slot type in SDHCI_CAPABILITIES reads as embedded, but slot is removable. */ | |||||
| #define SDHCI_QUIRK_SLOTTYPE_BROKEN (1U << 31) | |||||
| /* | /* | ||||
| * Controller registers | * Controller registers | ||||
| */ | */ | ||||
| #define SDHCI_DMA_ADDRESS 0x00 | #define SDHCI_DMA_ADDRESS 0x00 | ||||
| #define SDHCI_BLOCK_SIZE 0x04 | #define SDHCI_BLOCK_SIZE 0x04 | ||||
| #define SDHCI_BLKSZ_SDMA_BNDRY_4K 0x00 | #define SDHCI_BLKSZ_SDMA_BNDRY_4K 0x00 | ||||
| ▲ Show 20 Lines • Show All 348 Lines • Show Last 20 Lines | |||||