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

cancel
Showing results for 
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

203 Views
andreaaizza
Contributor II

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
3 Replies

176 Views
jimmychan
NXP TechSupport
NXP TechSupport

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

0 Kudos

168 Views
andreaaizza
Contributor II

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

0 Kudos

149 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