]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Change the frequency to MMC_HS_52 when selecting hs400
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Tue, 23 Apr 2024 05:30:57 +0000 (11:00 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 5 Sep 2024 22:18:39 +0000 (16:18 -0600)
commitefddda8f03f027cf6ed0f1d7e479c87c26247822
tree5c356633ae28d173970694d85fc96feddf5c7c39
parentfe11aa0b8ca34e24352fbb79c108b69fab011f6c
mmc: Change the frequency to MMC_HS_52 when selecting hs400

Per JESD84-B51 P47, host need to change frequency to <=52MHz
after setting HS_TIMING to 0x1, and host need to set the
8-bit DDR buswidth. Currently setting the frequency to 26MHz
and trying to switch 8-bit DDR buswidth resulting timeouts.

mmc dev 1 0
Select HS400 failed -110
switch to partitions #0, OK
mmc1(part 0) is current device

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
drivers/mmc/mmc.c