]> Git Repo - qemu.git/commit
hw/display/sm501: Always map the UART0
authorPhilippe Mathieu-Daudé <[email protected]>
Fri, 22 Nov 2019 13:36:23 +0000 (14:36 +0100)
committerMarc-André Lureau <[email protected]>
Tue, 7 Jan 2020 12:06:59 +0000 (16:06 +0400)
commit7aca3782d93d96cc5e123617d9e1de783365d4dd
treee90b32fa9ed8ebf30c9b5f9386be02dd1bd41517
parentcdbc5c51c8755e4e9ce964fc92ba755e1c71a914
hw/display/sm501: Always map the UART0

The SM501 is a Mobile Multimedia Companion Chip with 2 UARTs.
This model only implements the first UART. Being part of the
chipset, the UART block is always mapped in memory, regardless
of whether we provide a chardev backend.

Since commit 12051d82f, qemu_chr_fe_init() accepts a NULL chardev.
Let's remove the chardev check and always map the UART in the
chipset memory.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20191122133623[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
hw/display/sm501.c
This page took 0.023399 seconds and 4 git commands to generate.