[PATCH v2] arm: imx: imx8m: imx9: Fix DRAM size calculation due to rom_pointer

sbabic at denx.de sbabic at denx.de
Mon Sep 4 17:18:19 CEST 2023


> If dram_init_banksize() is called from SPL, the rom_pointer, at that
> point, is not correctly initialized. This causes wrong calculation of
> DRAM start and size in dram_init_banksize(). The issue became apparent
> only in Falcon Mode. Added an extra condition to prevent using
> rom_pointer in SPL.
> Signed-off-by: Elena Popa <elena.popa at nxp.com>
> Reviewed-by: Marek Vasut <marex at denx.de>
> Reviewed-by: Fabio Estevam <festevam at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list