]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8m: fix cache setup for dynamic sdram size
authorTim Harvey <tharvey@gateworks.com>
Fri, 25 Sep 2020 15:08:35 +0000 (08:08 -0700)
committerStefano Babic <sbabic@denx.de>
Sun, 6 Dec 2020 14:31:37 +0000 (15:31 +0100)
commitbc479b211876d60eca9a6f991971e5241ffa4037
tree88c524dd0b5b944f10584f2a55129b25518da454
parent72a1b9a977e8636b9c364f2cbf21371afe143c68
imx8m: fix cache setup for dynamic sdram size

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@gateworks.com>
arch/arm/mach-imx/imx8m/soc.c