summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2016-08-10 10:51:05 +0800
committerAndreas Bießmann <andreas@biessmann.org>2016-08-15 22:58:05 +0200
commita0d0d86f5cfeefda87986f3825ed1a85efa24448 (patch)
tree404d707595878d6d0cbbc5f476ef65764bcc92ef /include/sdhci.h
parent17b68b5a583207c9842d45ca7737dd79091e2765 (diff)
downloadu-boot-a0d0d86f5cfeefda87986f3825ed1a85efa24448.tar.gz
mmc: atmel_sdhci: Convert to the driver model support
Convert the driver to the driver model while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index fcef4dc065..6844c73bdc 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -166,6 +166,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