I.MX8M Plus SPL how to enable hs200 mode in emmc

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I.MX8M Plus SPL how to enable hs200 mode in emmc

1,755 次查看
mengfei
Contributor III

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):

0 项奖励
回复
4 回复数

1,707 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,686 次查看
mengfei
Contributor III
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):
0 项奖励
回复

1,658 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,754 次查看
mengfei
Contributor III
the uboot version was 2020.04
0 项奖励
回复