From: Ben Wolsieffer Date: Mon, 27 Oct 2025 20:56:27 +0000 (-0400) Subject: efi: video: fix mode info in payload mode X-Git-Tag: v2026.01-rc2~19^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad669eb7966894f2f570ded8af925fb9a052a3ca;p=pandora-u-boot.git efi: video: fix mode info in payload mode Currently, the EFI framebuffer is non-functional in payload mode. It always reports: "No video mode configured in EFI!" This is caused by a copy-paste error that replaced "struct efi_entry_gopmode" with "struct efi_gop_mode". Fixes: 88753816cf54 ("efi: video: Move payload code into a function") Signed-off-by: Ben Wolsieffer Reviewed-by: Heinrich Schuchardt --- diff --git a/drivers/video/efi.c b/drivers/video/efi.c index 78d123fad4b..8ce2ef9dc67 100644 --- a/drivers/video/efi.c +++ b/drivers/video/efi.c @@ -104,7 +104,7 @@ static int get_mode_info(struct vesa_mode_info *vesa, u64 *fbp, static int get_mode_from_entry(struct vesa_mode_info *vesa, u64 *fbp, struct efi_gop_mode_info **infop) { - struct efi_gop_mode *mode; + struct efi_entry_gopmode *mode; int size; int ret;