[PATCH] arm: imx: fix board_mmc_init for google coral

Fabio Estevam festevam at gmail.com
Thu Sep 19 17:30:56 CEST 2024


Hi Connor,

On Thu, Sep 19, 2024 at 11:45 AM Connor Rigby <konnorrigby at 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 at 30860000
Out:   serial at 30860000
Err:   serial at 30860000
Net:   eth0: ethernet at 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?


More information about the U-Boot mailing list