Skip to content

Commit 577fb13

Browse files
Seungwon Jeoncjb
authored andcommitted
mmc: rework selection of bus speed mode
Current implementation for bus speed mode selection is too complicated. This patch is to simplify the codes and remove some duplicate parts. The following changes are including: * Adds functions for each mode selection(HS, HS-DDR, HS200 and etc) * Rearranged the mode selection sequence with supported device type * Adds maximum speed for HS200 mode(hs200_max_dtr) * Adds field definition for HS_TIMING of EXT_CSD Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
1 parent 2385049 commit 577fb13

4 files changed

Lines changed: 238 additions & 200 deletions

File tree

‎drivers/mmc/core/debugfs.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static int mmc_ios_show(struct seq_file *s, void *data)
139139
str = "mmc DDR52";
140140
break;
141141
case MMC_TIMING_MMC_HS200:
142-
str = "mmc high-speed SDR200";
142+
str = "mmc HS200";
143143
break;
144144
default:
145145
str = "invalid";

0 commit comments

Comments
 (0)