Skip to content
Snippets Groups Projects
Commit 72a89e0d authored by Ye Li's avatar Ye Li Committed by Peng Fan
Browse files

mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue


When sd/mmc work at DDR mode, like HS400/HS400ES/DDR52/DDR50 mode,
the output clock rate is half of the internal clock rate.

This patch set the DDR_EN bit first for DDR mode, hardware divide
the usdhc clock automatically, then follow the original sdr clock
setting method.

Signed-off-by: default avatarHaibo Chen <haibo.chen@nxp.com>
Signed-off-by: default avatarYe Li <ye.li@nxp.com>
parent b4ee6daa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment