u-boot (v2022.04) on IMX6S with FSL_USDHC, DM_MMC: how to init only SD2, SD3 and exclude SD1

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

u-boot (v2022.04) on IMX6S with FSL_USDHC, DM_MMC: how to init only SD2, SD3 and exclude SD1

1,251 Views
andreaaizza
Contributor III

Hi,

on latest U-Boot, it appears custom board board_mmc_init() is not utilized and probing/init is done within mmc driver. 

Having SD, EMMC on SD2, SD3 and SD1 utilized for other puroposes, how can I exclude SD1 from MMC init within DM_MMC?

Thanks

 

Labels (1)
0 Kudos
Reply
3 Replies

1,224 Views
jimmychan
NXP TechSupport
NXP TechSupport

Have you try to not init the SD1 in device tree?

0 Kudos
Reply

1,216 Views
andreaaizza
Contributor III

Hi, thanks! How do I do that? Acting on `*.dts` file or `board/.../.c` files (board_init_*())?

0 Kudos
Reply

1,197 Views
jimmychan
NXP TechSupport
NXP TechSupport

You need to check/modify the code in include/configs/<board>.h, arch/arm/dts/<board>.dts, and board/freescale/<board>/<board>.c files.

0 Kudos
Reply