From 40e6f52454fc9adb6269ef8089c1fd2ded85fee8 Mon Sep 17 00:00:00 2001 From: Stephen Carlson Date: Tue, 17 Aug 2021 12:46:41 -0700 Subject: drivers: mmc: Add wait_dat0 support for sdhci driver Adds an implementation of the wait_dat0 MMC operation for the DM SDHCI driver, allowing the driver to continue when the card is ready rather than waiting for the worst case time on each MMC switch operation. Signed-off-by: Stephen Carlson Signed-off-by: Jaehoon Chung --- include/sdhci.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/sdhci.h b/include/sdhci.h index 44a0d84e5ab..c718dd7206c 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -65,6 +65,8 @@ #define SDHCI_CARD_STATE_STABLE BIT(17) #define SDHCI_CARD_DETECT_PIN_LEVEL BIT(18) #define SDHCI_WRITE_PROTECT BIT(19) +#define SDHCI_DATA_LVL_MASK 0x00F00000 +#define SDHCI_DATA_0_LVL_MASK BIT(20) #define SDHCI_HOST_CONTROL 0x28 #define SDHCI_CTRL_LED BIT(0) -- cgit v1.2.3