[PATCH v2 6/8] board: tqma7: add code for u-boot with spl

Peng Fan peng.fan at oss.nxp.com
Wed Mar 25 12:36:48 CET 2026


On Wed, Mar 25, 2026 at 10:57:59AM +0100, Alexander Feilke wrote:
>From: Alexander Feilke <alexander.feilke at ew.tq-group.com>
>
>The TQMa7x is a SoM family with a pluggable board connector based on the
>i.MX7 SoCs. Add support for the SoM and its combination with our
>MBa7x carrier board.
>
>Signed-off-by: Alexander Feilke <alexander.feilke at ew.tq-group.com>
>---
>> struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv;
>
>One note on this cast here: It seems weird to cast fsl_esdhc_priv to
>fsl_esdhc_cfg here. This is done in many i.MX boards though. Just want to make
>sure if this is the correct and intended way to access the sdhc_base address.
>

I know i.MX7D only has 128KB on chip RAM, so for a FULL SPL DM + OF enablement
, it might not be enough. Not sure you tried it or not. But in general, it is ok
from my view.

Acked-by: Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list