udoo_spl: Initialize the eSDHC controller in SPL
authorFabio Estevam <festevam@gmail.com>
Sat, 18 Dec 2021 21:10:20 +0000 (18:10 -0300)
committerTom Rini <trini@konsulko.com>
Sat, 8 Jan 2022 16:16:03 +0000 (11:16 -0500)
commit11907cb5cfbb30ab3923d10a874aee0bde8ec64c
tree408e8710e97692d08dbbe30bbf7676496c320c83
parent47de135994b59f5787cba233f0102ab97a4e5726
udoo_spl: Initialize the eSDHC controller in SPL

Currently, imx6q udoo board fails to boot like this:

U-Boot SPL 2022.01-rc3-00061-g95ca715adad3 (Dec 18 2021 - 18:04:40 -0300)
Trying to boot from MMC1

The reason is that the eSDHC controller is not initialized in SPL.

Initialize the eSDHC controller in SPL via C code as DM is not
used in SPL.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
board/udoo/udoo_spl.c