coreboot-kgpe-d16/payloads/libpayload/arch
Yidi Lin e78ea98bb2 libpayload/arm64: Round fb_size up to a multiple of GRANULE_SIZE
If a framebuffer is already configured by coreboot, we need to ensure
that the framebuffer size is a multiple of GRANULE_SIZE before passing
to `mmu_add_memrange`. Otherwise, we would fail to allocate memory
region due to `sanity_check`.

Change-Id: Ia6a6400733ca10a61220087e87022f68c28e4789
Signed-off-by: Yidi Lin <yidilin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79451
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-12-11 11:00:22 +00:00
..
arm libpayload: Fix the stack and data labels 2023-12-01 02:20:29 +00:00
arm64 libpayload/arm64: Round fb_size up to a multiple of GRANULE_SIZE 2023-12-11 11:00:22 +00:00
mock payloads/libpayload: Remove ARCH_SPECIFIC_OPTIONS 2023-08-20 18:41:23 +00:00
x86 libpayload: Fix the stack and data labels 2023-12-01 02:20:29 +00:00