diff options
author | Devarsh Thakkar <devarsht@ti.com> | 2023-12-05 21:25:17 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-29 14:49:17 -0500 |
commit | ba20b2443c298a19ff70d66f71630c6d16c39c97 (patch) | |
tree | cfdc54f07c287d3d20059f15bed7e48c978a019b /include/zynqmp_firmware.h | |
parent | 1d3c266758570ea7d329746ae2d5b31fb12b9f61 (diff) | |
download | u-boot-ba20b2443c298a19ff70d66f71630c6d16c39c97.tar.gz u-boot-ba20b2443c298a19ff70d66f71630c6d16c39c97.tar.bz2 u-boot-ba20b2443c298a19ff70d66f71630c6d16c39c97.zip |
arm: mach-k3: common: Reserve video memory from end of the RAM
Setup video memory before page table reservation using
"spl_reserve_video_from_ram_top" which ensures framebuffer memory gets
reserved from the end of RAM.
This is done to enable the next stage to directly skip the
pre-reserved area from previous stage right from the end of RAM without
having to make any gaps/holes to accommodate those regions which was the
case before as previous stage reserved region not from the end of RAM.
Use gd->ram_top instead of local ram_top and update gd->reloc_addr after
each reservation to ensure further regions are reserved properly.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Nikhil M Jain <n-jain1@ti.com>
Diffstat (limited to 'include/zynqmp_firmware.h')
0 files changed, 0 insertions, 0 deletions