[PATCH] ARM: imx: Do not hard-code MX8M MMU table DRAM entry offset

Fabio Estevam festevam at gmail.com
Sat Feb 27 15:01:54 CET 2021


Hi Marek,

On Sat, Feb 27, 2021 at 10:59 AM Marek Vasut <marex at denx.de> wrote:
>
> Instead of hard-coding the offset of DRAM entries in MMU table all over
> the code, auto-detect the offset. This removes error-prone code which
> would break e.g. in case the MMU table is modified.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Ye Li <ye.li at nxp.com>

This is a much better solution indeed, thanks:

Reviewed-by: Fabio Estevam <festevam at gmail.com>


More information about the U-Boot mailing list