From: sbabic at denx.de Date: Tue, 8 Dec 2020 09:00:24 +0100 (CET) Subject: [PATCH] imx8m: fix cache setup for dynamic sdram size In-Reply-To: <1601046515-30684-1-git-send-email-tharvey@gateworks.com> Message-ID: <20201208080024.9E406826A7@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 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 =====================================================================