X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fsdhci.h;h=144570f2be9662d43015f1a817adaa7ac6b97c79;hb=b8ad70f70655d4a53c4014e768a25194c8a4b219;hp=fcef4dc065a84cd54b65027cb95e445907f231ae;hpb=14bed52d276afd36b9674ee7aa2c2ad9d2f4e59e;p=oweals%2Fu-boot.git diff --git a/include/sdhci.h b/include/sdhci.h index fcef4dc065..144570f2be 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -97,6 +97,7 @@ #define SDHCI_DIV_MASK 0xFF #define SDHCI_DIV_MASK_LEN 8 #define SDHCI_DIV_HI_MASK 0x300 +#define SDHCI_PROG_CLOCK_MODE 0x0020 #define SDHCI_CLOCK_CARD_EN 0x0004 #define SDHCI_CLOCK_INT_STABLE 0x0002 #define SDHCI_CLOCK_INT_EN 0x0001 @@ -166,6 +167,8 @@ #define SDHCI_CAN_64BIT 0x10000000 #define SDHCI_CAPABILITIES_1 0x44 +#define SDHCI_CLOCK_MUL_MASK 0x00FF0000 +#define SDHCI_CLOCK_MUL_SHIFT 16 #define SDHCI_MAX_CURRENT 0x48 @@ -240,6 +243,7 @@ struct sdhci_host { unsigned int quirks; unsigned int host_caps; unsigned int version; + unsigned int clk_mul; /* Clock Multiplier value */ unsigned int clock; struct mmc *mmc; const struct sdhci_ops *ops;