]> git.baikalelectronics.ru Git - uboot.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)
commita77264fb3b6168be069d5e73fd2d8932daec6acb
tree4e0f600b3731b037d15c1d446a61818d9a1d4b1f
parent6cec586c815c14699e1aa8255b890ebffaaea1ef
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