
Hi Connor,
On Thu, Sep 19, 2024 at 11:45 AM Connor Rigby konnorrigby@gmail.com wrote:
This fixes a typo in the mxc_get_clock function preventing SPL from initializing USDHC1 and USDHC2.
I am not able to reproduce the problem with the top of tree U-Boot:
U-Boot SPL 2024.10-rc4-00034-ga7b83ade98e0 (Sep 19 2024 - 12:24:44 -0300) Normal Boot Trying to boot from MMC2
U-Boot 2024.10-rc4-00034-ga7b83ade98e0 (Sep 19 2024 - 12:24:44 -0300)
CPU: Freescale i.MX8MQ rev2.0 at 1000 MHz Reset cause: POR Model: Google i.MX8MQ Phanbell DRAM: 1 GiB Core: 67 devices, 18 uclasses, devicetree: separate MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... Reading from MMC(1)... OK In: serial@30860000 Out: serial@30860000 Err: serial@30860000 Net: eth0: ethernet@30be0000 Hit any key to stop autoboot: 0 => saveenv Saving Environment to MMC... Writing to MMC(1)... OK =>
imx8mq_evk also uses the same mxc_get_clock() parameter and also boot.
Which TF-A version you are using?