As coreboot framebuffer is immutable always use CBmodeinfo.
Signed-off-by: Patrick Rudolph siro@das-labor.org --- vgasrc/cbvga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vgasrc/cbvga.c b/vgasrc/cbvga.c index 50e6e69..4c349c5 100644 --- a/vgasrc/cbvga.c +++ b/vgasrc/cbvga.c @@ -113,7 +113,7 @@ cbvga_set_mode(struct vgamode_s *vmode_g, int flags) return 0; } struct gfx_op op; - init_gfx_op(&op, vmode_g); + init_gfx_op(&op, &CBmodeinfo); op.x = op.y = 0; op.xlen = GET_GLOBAL(CBmodeinfo.width); op.ylen = GET_GLOBAL(CBmodeinfo.height);