[PATCH v1] board: colibri_imx7: fix emmc detection

Francesco Dolcini francesco at dolcini.it
Tue Dec 12 12:48:31 CET 2023


Hello Fabio,

On Tue, Dec 12, 2023 at 08:28:15AM -0300, Hiago De Franco wrote:
> From: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> 
> Later versions of Colibri iMX7D V1.1B modules use a "new" SoC fusing. The
> difference lies in whether we enable the boot ROM to use the eMMC reset
> signal. Depending on the SoC fuse, the boot ROM configures this pin as a
> GPIO output to drive the reset signal. Our eMMC vs NAND detection
> currently only sets that signal to a GPIO without explicitly setting any
> direction. Previously, by default, it was set as an input. As the boot ROM
> now configures it as an output, we receive a value of zero instead of one,
> indicating the absence of the pull-up on eMMC modules.
...
> Fixes: 0c39564d ("toradex: colibri_imx7: Enable nand/emmc detection and set boot variant")

It would be nice to have this fix in for 2024.01, if possible, thanks!

Francesco



More information about the U-Boot mailing list