Re: [u-boot][master][PATCH 2/3] pico-imx7d: add baseboard SD card boot detect

2022-12-20 Thread Szőke Kálmán Benjamin
To use fsl_esdhc_initialize() is must or esdhc drivers object will be not initialized. It was made by Technexion.In practice, it turned out that 3 is good.

Re: [u-boot][master][PATCH 2/3] pico-imx7d: add baseboard SD card boot detect

2022-12-19 Thread Fabio Estevam
On Sun, Dec 18, 2022 at 9:53 AM wrote: > + for (index = 0; index < CONFIG_SYS_FSL_USDHC_NUM; ++index) { > + ret = fsl_esdhc_initialize(bis, &usdhc_cfg[index]); > + if (ret) > + return ret; In patch 3/3, CONFIG_SPL_DM_MMC=y, so can't the dri

[u-boot][master][PATCH 2/3] pico-imx7d: add baseboard SD card boot detect

2022-12-18 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 82 + board/technexion/pico-imx7d/pico-imx7d_spl.c | 92 ++-- include/configs/pic