[coreboot-gerrit] New patch to review for coreboot: 6f58d50 qemu: fix bochs build

Gerd Hoffmann (kraxel@redhat.com) gerrit at coreboot.org
Wed Aug 27 10:44:43 CEST 2014


Gerd Hoffmann (kraxel at redhat.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6769

-gerrit

commit 6f58d5023c1e3a41b408d25d428f38e3b8f0773b
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Aug 27 10:42:47 2014 +0200

    qemu: fix bochs build
    
    commit 9518b56ab079f4c12eefe83cc9b4fa24b413ebe8 changed "struct edid"
    and thereby broke the build.  Adapt drivers/emulation/qemu/bochs.c to
    the changes to fix this.
    
    Change-Id: Ic295c6d31284555e1463af5bca673231b8722d54
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 src/drivers/emulation/qemu/bochs.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/drivers/emulation/qemu/bochs.c b/src/drivers/emulation/qemu/bochs.c
index 715c94c..f2e4dfb 100644
--- a/src/drivers/emulation/qemu/bochs.c
+++ b/src/drivers/emulation/qemu/bochs.c
@@ -114,7 +114,9 @@ static void bochs_init(device_t dev)
 	edid.x_resolution = width;
 	edid.y_resolution = height;
 	edid.bytes_per_line = width * 4;
-	edid.bpp = 32;
+	edid.framebuffer_bits_per_pixel = 32;
+	edid.panel_bits_per_color = 8;
+	edid.panel_bits_per_pixel = 24;
 	set_vbe_mode_info_valid(&edid, addr);
 #else
 	vga_misc_write(0x1);



More information about the coreboot-gerrit mailing list