diff options
author | Yidi Lin <yidilin@chromium.org> | 2023-12-08 23:52:05 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-12-11 11:00:22 +0000 |
commit | e78ea98bb28b276a20ec50251e6a1dde01295c35 (patch) | |
tree | 76419ba37dd82303d6c28f5abb81db1dd20b9292 /payloads/linuxcheck/Makefile | |
parent | 933e50702ea04e0d479934d1c2e7fc7c055e4a0c (diff) |
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>
Diffstat (limited to 'payloads/linuxcheck/Makefile')
0 files changed, 0 insertions, 0 deletions