Tool/software: Linux
When booting from MMC1 on a custom board, MLO launches and runs but fails with error "spl: mmc init failed with error: -110" or "spl: mmc init failed with error: -1"
When CONFIG_MMC_TRACE is enabled, I see the mmc initialization failing part way through the process.
mmc_sd_switch_hs() succeeds, but mmc_app_set_bus_width() fails.
Possibly a clue, if I set CTRL_CORE_CONTROL_SPARE_RW : CORE_CONTROL_SPARE_RW_MMC1_LOOPBACK = 0x1 (internal loopback clock is selected), then mmc_init() completes and I reach the MMCSD_MODE_FS case in spl_mmc_load_image().
We are currently looking at the clock line, but I wanted to check if there is anything else we should consider.