milkymist-vgafb: fix console resizing
After enabling the framebuffer, ensure that the console is resized. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
ecbe1de823
commit
c07050ddb9
@ -199,6 +199,9 @@ vgafb_write(void *opaque, target_phys_addr_t addr, uint32_t value)
|
||||
addr >>= 2;
|
||||
switch (addr) {
|
||||
case R_CTRL:
|
||||
s->regs[addr] = value;
|
||||
vgafb_resize(s);
|
||||
break;
|
||||
case R_HSYNC_START:
|
||||
case R_HSYNC_END:
|
||||
case R_HSCAN:
|
||||
|
Loading…
Reference in New Issue
Block a user