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

770件の閲覧回数
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 返答(返信)

743件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

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

0 件の賞賛

735件の閲覧回数
andreaaizza
Contributor III

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

0 件の賞賛

716件の閲覧回数
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 件の賞賛