Skip to content

Commit

Permalink
mmc: rework selection of bus speed mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Seungwon Jeon authored and Chris Ball committed May 12, 2014
1 parent 2385049 commit 577fb13
Show file tree
Hide file tree
Showing 4 changed files with 238 additions and 200 deletions.
2 changes: 1 addition & 1 deletion drivers/mmc/core/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static int mmc_ios_show(struct seq_file *s, void *data)
str = "mmc DDR52";
break;
case MMC_TIMING_MMC_HS200:
str = "mmc high-speed SDR200";
str = "mmc HS200";
break;
default:
str = "invalid";
Expand Down
Loading

0 comments on commit 577fb13

Please sign in to comment.