Skip to content
Commit 1431ab8b authored by Mark Kettenis's avatar Mark Kettenis Committed by Heinrich Schuchardt
Browse files

efi_loader: Don't carve out memory reservations too early



Moving the efi_carve_out_dt_rsv() call in commit 1be415b2
("efi_loader: create memory reservations in ACPI case")
broke boards that create additional memory reservations in
ft_board_setup() since it is now called before those additional
memory reservations are made.  This is the case for the rk3588
boards and breaks booting OpenBSD on those boards.

Move the call back to its original location and add a call in
the code path used for ACPI.

Fixes: 1be415b2 ("efi_loader: create memory reservations in ACPI case")
Signed-off-by: default avatarMark Kettenis <kettenis@openbsd.org>
Reviewed-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
parent 0dc8cbda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment