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

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

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

765 次查看
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

 

标签 (1)
0 项奖励
3 回复数

738 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

0 项奖励

730 次查看
andreaaizza
Contributor III

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

0 项奖励

711 次查看
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 项奖励