
19 Dec
2022
19 Dec
'22
5:31 p.m.
On Sun, Dec 18, 2022 at 9:53 AM egyszeregy@freemail.hu 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 driver do the MMC init instead of doing this manually?
#define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 3) \
Shouldn't the index 2 instead?