projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8a4e30
)
mmc: sd: Define name for default speed dtr
author
yinbo.zhu
<yinbo.zhu@nxp.com>
Thu, 24 May 2018 03:38:25 +0000
(11:38 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 29 May 2018 10:24:26 +0000
(12:24 +0200)
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>
include/linux/mmc/card.h
patch
|
blob
|
history
diff --git
a/include/linux/mmc/card.h
b/include/linux/mmc/card.h
index 5ebc478557215dd6793efe666d6534e79ad38854..de7377815b6b4c9828beccd1c6a37932c8a29d0d 100644
(file)
--- 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