Fix the definition of the SDHCI_STATE_DAT and SDHCI_STATE_CMD fields, and

add SDHCI_RETUNE_REQUEST.  None of these are actually used in the code yet.
This commit is contained in:
Ian Lepore 2014-02-12 22:25:08 +00:00
parent 5f3563b0a5
commit 4c155ae194

View File

@ -104,6 +104,7 @@
#define SDHCI_CMD_INHIBIT 0x00000001
#define SDHCI_DAT_INHIBIT 0x00000002
#define SDHCI_DAT_ACTIVE 0x00000004
#define SDHCI_RETUNE_REQUEST 0x00000008
#define SDHCI_DOING_WRITE 0x00000100
#define SDHCI_DOING_READ 0x00000200
#define SDHCI_SPACE_AVAILABLE 0x00000400
@ -112,8 +113,8 @@
#define SDHCI_CARD_STABLE 0x00020000
#define SDHCI_CARD_PIN 0x00040000
#define SDHCI_WRITE_PROTECT 0x00080000
#define SDHCI_STATE_DAT 0x00700000
#define SDHCI_STATE_CMD 0x00800000
#define SDHCI_STATE_DAT_MASK 0x00f00000
#define SDHCI_STATE_CMD 0x01000000
#define SDHCI_HOST_CONTROL 0x28
#define SDHCI_CTRL_LED 0x01