qemu: fix vga driver build

Commit "7dbf9c6 edid: Use edid_mode struct to reduce redundancy" moved
some fields from "struct edid" to "struct edid_mode".  Adapt the bochs
and cirrus drivers to that change.

Change-Id: I9ec82a403d0264955d4b72496219036c7775c758
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-on: http://review.coreboot.org/11502
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
Gerd Hoffmann 2015-09-04 12:58:00 +02:00 committed by Stefan Reinauer
parent 037581542b
commit 0bc3e325c9
2 changed files with 4 additions and 4 deletions

View File

@ -109,8 +109,8 @@ static void bochs_init(struct device *dev)
outb(0x20, 0x3c0); /* disable blanking */ outb(0x20, 0x3c0); /* disable blanking */
/* setup coreboot framebuffer */ /* setup coreboot framebuffer */
edid.ha = width; edid.mode.ha = width;
edid.va = height; edid.mode.va = height;
edid.x_resolution = width; edid.x_resolution = width;
edid.y_resolution = height; edid.y_resolution = height;
edid.bytes_per_line = width * 4; edid.bytes_per_line = width * 4;

View File

@ -332,8 +332,8 @@ static void cirrus_init(struct device *dev)
struct edid edid; struct edid edid;
edid.ha = width; edid.mode.ha = width;
edid.va = height; edid.mode.va = height;
edid.x_resolution = width; edid.x_resolution = width;
edid.y_resolution = height; edid.y_resolution = height;
edid.bytes_per_line = width * 4; edid.bytes_per_line = width * 4;