May I ask how to realize emmc working in hs200 and hs400 mode in SPL stage? I myself set CONFIG_SPL_IO_VOLTAGE=y CONFIG_SPL_UHS_SUPPORT=y CONFIG_SPL_MMC_HS200_SUPPORT=y in the <.config> file, but there was an error at compile time.
I would appreciate it if you could help me with this problem
error messenge:
drivers/mmc/fsl esdhc imx.c: In function 'esdhc reset tuning':drivers/mmc/fsl esdhc imx.c:722:48: error: 'struct mmc’ has no member namied "devstruct fsl esdhc priv *priv = dev get priv(mmc->dev);
drivers/mmc/fsl esdhc imx.c: In function 'esdhc set strobe dll':drivers/mmc/fsl esdhc imx.c:736:48: error: 'struct mmc’ has no member namedstruct fsl esdhc priv *priv = dev get priv(mmc->dev):
Hi @mengfei,
I hope you are doing well.
Have you made any changes to the u-boot source code related to emmc?
Please make sure that you have used correct configuration options.
CONFIG_SPL_MMC_UHS_SUPPORT=n
CONFIG_SPL_MMC_HS200_SUPPORT=y
CONFIG_SPL_MMC_IO_VOLTAGE=y
Please specify mmc-hs200-1_8v device tree property under the usdhc node indts.
Thanks & Regards,
Dhruvit Vasavada
Hi @mengfei,
I hope you are doing well.
I did not observe any error when building U-boot 2020.04 for i.MX8MP (imx8mp_evk_defconfig) adding the below options.
CONFIG_SPL_MMC_UHS_SUPPORT=n
CONFIG_SPL_MMC_HS200_SUPPORT=y
CONFIG_SPL_MMC_IO_VOLTAGE=y
Please make sure that you have not made any changes to mmc related code in u-boot.
Thanks & Regards,
Dhruvit Vasavada