]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp: Increase the reserved memory in board_get_usable_ram_top
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 7 May 2021 12:50:34 +0000 (14:50 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 7 Jun 2021 14:48:40 +0000 (10:48 -0400)
commit7dc6068fc10d699558176da364a3e7a6cfccdaa1
tree4e0f600b3731b037d15c1d446a61818d9a1d4b1f
parentf46959cef4360960103d84467b82a56d56152fe4
stm32mp: Increase the reserved memory in board_get_usable_ram_top

Add 8M for the U-Boot reserved memory (display, fdt, gd, ...)
mapped cacheable before relocation.

Without this patch the device tree, located before the MALLOC area
is not tagged cacheable just after relocation, before mmu reconfiguration.

This patch reduces the duration for device tree parsing in
lmb_init_and_reserve.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/dram_init.c