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

243件の閲覧回数
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

 

ラベル(1)
0 件の賞賛
3 返答(返信)

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

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

0 件の賞賛

208件の閲覧回数
andreaaizza
Contributor II

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

0 件の賞賛

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