summary refs log tree commit diff stats
path: root/hw/grlib_apbuart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/grlib_apbuart.c')
-rw-r--r--hw/grlib_apbuart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/grlib_apbuart.c b/hw/grlib_apbuart.c
index 169a56eb1b..c90b810413 100644
--- a/hw/grlib_apbuart.c
+++ b/hw/grlib_apbuart.c
@@ -114,7 +114,7 @@ grlib_apbuart_writel(void *opaque, target_phys_addr_t addr, uint32_t value)
     switch (addr) {
     case DATA_OFFSET:
         c = value & 0xFF;
-        qemu_chr_write(uart->chr, &c, 1);
+        qemu_chr_fe_write(uart->chr, &c, 1);
         return;
 
     case STATUS_OFFSET: