diff options
author | Michael Walle <michael@walle.cc> | 2011-04-13 00:29:34 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-05-03 10:48:40 +0200 |
commit | c07050ddb9659805068b2f1a3686c6f096dd11f9 (patch) | |
tree | 44226b383d996fe6a64d1e8008f65941f58a6a9d | |
parent | ecbe1de82362e73c2b1111770c4a91b675a6fca2 (diff) |
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>
-rw-r--r-- | hw/milkymist-vgafb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/milkymist-vgafb.c b/hw/milkymist-vgafb.c index 8922731511..2e55e42e34 100644 --- a/hw/milkymist-vgafb.c +++ b/hw/milkymist-vgafb.c @@ -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: |