ns16550: add ACPI support for ARM only
authorWei Xu <xuwei5@hisilicon.com>
Fri, 21 Feb 2020 16:20:22 +0000 (17:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 21 Feb 2020 16:20:22 +0000 (17:20 +0100)
commit17b516196c556c1914f235d59be122564f0e90dc
treea636db8dd8be21ea4a54ba9c5c2be690eb04697c
parentb05cf27babaee58e958d4fb007afe7a4218d2c00
ns16550: add ACPI support for ARM only

Parse the ACPI SPCR table and initialize the 16550 compatible serial port
for ARM only. Currently we only support one UART on ARM. Some fields
which we do not care yet on ARM are ignored.

Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Acked-by: Julien Grall <julien@xen.org>
xen/drivers/char/ns16550.c