Skip to content

Commit

Permalink
G12B: emmc: set co-phase 1 for emmc highspeed busmode [1/1]
Browse files Browse the repository at this point in the history
PD#165090

Problem:
wrongly parameter cause R/W error

Solution:
set co-phase 1

Verify:
W400 for samsung emmc
W400 for toshiba emmc

Change-Id: If0f0719c5990603acd450c1be4ca55c4e4093a9b
Signed-off-by: Long Yu <[email protected]>
  • Loading branch information
Long Yu authored and xiaobo gu committed Jun 25, 2018
1 parent a71c69a commit 8213494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/cpu/armv8/g12b/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ __weak void sd_emmc_para_config(unsigned int *reg, unsigned int port)
{
if (port == 1) {
*reg &= ~(3 << Cfg_co_phase);
*reg |= (3 << Cfg_co_phase);
*reg |= (1 << Cfg_co_phase);
}
return;
}

0 comments on commit 8213494

Please sign in to comment.