summaryrefslogtreecommitdiff
path: root/src/drivers/emulation
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/emulation')
-rw-r--r--src/drivers/emulation/qemu/bochs.c4
-rw-r--r--src/drivers/emulation/qemu/cirrus.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/emulation/qemu/bochs.c b/src/drivers/emulation/qemu/bochs.c
index cb0075aec1..ae2975d543 100644
--- a/src/drivers/emulation/qemu/bochs.c
+++ b/src/drivers/emulation/qemu/bochs.c
@@ -109,8 +109,8 @@ static void bochs_init(struct device *dev)
outb(0x20, 0x3c0); /* disable blanking */
/* setup coreboot framebuffer */
- edid.ha = width;
- edid.va = height;
+ edid.mode.ha = width;
+ edid.mode.va = height;
edid.x_resolution = width;
edid.y_resolution = height;
edid.bytes_per_line = width * 4;
diff --git a/src/drivers/emulation/qemu/cirrus.c b/src/drivers/emulation/qemu/cirrus.c
index ffc977229b..be8afdffa9 100644
--- a/src/drivers/emulation/qemu/cirrus.c
+++ b/src/drivers/emulation/qemu/cirrus.c
@@ -332,8 +332,8 @@ static void cirrus_init(struct device *dev)
struct edid edid;
- edid.ha = width;
- edid.va = height;
+ edid.mode.ha = width;
+ edid.mode.va = height;
edid.x_resolution = width;
edid.y_resolution = height;
edid.bytes_per_line = width * 4;