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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,860 Views
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 Kudos
Reply
4 Replies

1,812 Views
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 Kudos
Reply

1,791 Views
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 Kudos
Reply

1,763 Views
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 Kudos
Reply

1,859 Views
mengfei
Contributor III
the uboot version was 2020.04
0 Kudos
Reply