summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authoryinbo.zhu <yinbo.zhu@nxp.com>2018-05-24 11:38:25 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2018-05-29 12:24:26 +0200
commita0d476654a2b222567710ab13f3660a39c5641c8 (patch)
tree5253b5e459e553d6754e0af4bf1db341aa45b81e /include/linux/mmc
parentc8a4e30d9ac0a7d405c4d26e313af7464ee00929 (diff)
downloadlinux-stable-a0d476654a2b222567710ab13f3660a39c5641c8.tar.gz
linux-stable-a0d476654a2b222567710ab13f3660a39c5641c8.tar.bz2
linux-stable-a0d476654a2b222567710ab13f3660a39c5641c8.zip
mmc: sd: Define name for default speed dtr
Add a new define for the sd default speed 25MHz case Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/card.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index 5ebc47855721..de7377815b6b 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -156,6 +156,7 @@ struct sd_switch_caps {
#define UHS_DDR50_MAX_DTR 50000000
#define UHS_SDR25_MAX_DTR UHS_DDR50_MAX_DTR
#define UHS_SDR12_MAX_DTR 25000000
+#define DEFAULT_SPEED_MAX_DTR UHS_SDR12_MAX_DTR
unsigned int sd3_bus_mode;
#define UHS_SDR12_BUS_SPEED 0
#define HIGH_SPEED_BUS_SPEED 1