aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-03-10 12:47:13 -0800
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-03-13 13:53:01 +0100
commit644e61448cb02c6252b3f9131bff82e92a0f2aea (patch)
tree60da80ecc7aa3bacf23e163ee6ec2871b683c683 /arch/x86
parent57fa4182241348aff6e8471f17a3d06039a65332 (diff)
downloadu-boot-644e61448cb02c6252b3f9131bff82e92a0f2aea.zip
u-boot-644e61448cb02c6252b3f9131bff82e92a0f2aea.tar.gz
u-boot-644e61448cb02c6252b3f9131bff82e92a0f2aea.tar.bz2
efi: Support a 64-bit frame buffer address
The current vesa structure only provides a 32-bit value for the frame buffer. Many modern machines use an address outside the range. It is still useful to have this common struct, but add a separate frame-buffer address as well. Add a comment for vesa_setup_video_priv() while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/lib/fsp/fsp_graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/fsp/fsp_graphics.c b/arch/x86/lib/fsp/fsp_graphics.c
index b07c666..2bcc49f 100644
--- a/arch/x86/lib/fsp/fsp_graphics.c
+++ b/arch/x86/lib/fsp/fsp_graphics.c
@@ -106,7 +106,7 @@ static int fsp_video_probe(struct udevice *dev)
vesa->phys_base_ptr = dm_pci_read_bar32(dev, 2);
gd->fb_base = vesa->phys_base_ptr;
- ret = vesa_setup_video_priv(vesa, uc_priv, plat);
+ ret = vesa_setup_video_priv(vesa, vesa->phys_base_ptr, uc_priv, plat);
if (ret)
goto err;