[PATCH] imx8m: fix cache setup for dynamic sdram size

sbabic at denx.de sbabic at denx.de
Tue Dec 8 09:00:24 CET 2020


> the mem_map structure containing the size of SDRAM is used in various
> cache functions in cache_v8.c thus we need to update it with the
> sdram size the board is configured with as well. Without this
> the cache functions do not get setup properly and can hang
> in the case where a board reports more SDRAM than defined in
> PHYS_SDRAM_SIZE.
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-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