
8 Aug
2023
8 Aug
'23
11:45 p.m.
Hi Elena,
On 08/08/2023 08:58, Elena Popa wrote:
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@nxp.com
V2: Added the extra condition also in dram_init() and get_effective_memsize() for consistency.
Thanks for the fix.
Reviewed-by: Fabio Estevam festevam@denx.de