hw/arm: Use TYPE_PL011 to create serial port
authorGavin Shan <gshan@redhat.com>
Mon, 24 Feb 2020 22:22:23 +0000 (09:22 +1100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Feb 2020 16:14:57 +0000 (16:14 +0000)
commitd8f6d15fd580eec310a3aee9365f206871cadb8d
tree813c82cd2096a840e891b4164dc29ff159c2b47d
parente27d5b488ef08408691bfed61f34ee2858136287
hw/arm: Use TYPE_PL011 to create serial port

This uses TYPE_PL011 when creating the serial port so that the code
looks cleaner.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200224222223.4128-1-gshan@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/sbsa-ref.c
hw/arm/virt.c
hw/arm/xlnx-versal.c