aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/coreboot.c
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 /drivers/video/coreboot.c
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 'drivers/video/coreboot.c')
-rw-r--r--drivers/video/coreboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/coreboot.c b/drivers/video/coreboot.c
index d2d87c7..c586475 100644
--- a/drivers/video/coreboot.c
+++ b/drivers/video/coreboot.c
@@ -57,7 +57,7 @@ static int coreboot_video_probe(struct udevice *dev)
goto err;
}
- ret = vesa_setup_video_priv(vesa, uc_priv, plat);
+ ret = vesa_setup_video_priv(vesa, vesa->phys_base_ptr, uc_priv, plat);
if (ret) {
ret = log_msg_ret("setup", ret);
goto err;