diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2016-09-18 09:01:22 +0800 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-09-20 06:46:01 +0900 |
commit | 6dffdbc3a5911e768be21850a612bfb4871a23ef (patch) | |
tree | ea5bbeb9bc3c77d9193688827b52aa8b63429b08 /include/sdhci.h | |
parent | e492dbb41e025ac1a7d7934b1df52b2f0485f8dd (diff) | |
download | u-boot-imx-6dffdbc3a5911e768be21850a612bfb4871a23ef.zip u-boot-imx-6dffdbc3a5911e768be21850a612bfb4871a23ef.tar.gz u-boot-imx-6dffdbc3a5911e768be21850a612bfb4871a23ef.tar.bz2 |
mmc: sdhci: Add the programmable clock mode support
Add the programmable clock mode for the clock generator.
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r-- | include/sdhci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index 6844c73..144570f 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 @@ -242,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; |