diff options
Diffstat (limited to 'hw/arm/virt.c')
-rw-r--r-- | hw/arm/virt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 63dbfb937a..ecf627ddb1 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -2308,6 +2308,7 @@ static void machvirt_init(MachineState *machine) * we create it second (and so it appears first in the DTB), because * that's what QEMU has always done. */ + create_uart(vms, VIRT_UART0, sysmem, serial_hd(0)); if (!vms->secure) { Chardev *serial1 = serial_hd(1); @@ -2316,7 +2317,6 @@ static void machvirt_init(MachineState *machine) create_uart(vms, VIRT_UART1, sysmem, serial1); } } - create_uart(vms, VIRT_UART0, sysmem, serial_hd(0)); if (vms->secure) { vms->second_uart_present = true; create_uart(vms, VIRT_UART1, secure_sysmem, serial_hd(1)); |