aboutsummaryrefslogtreecommitdiffstats
path: root/plat/qemu
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-01-25 00:58:35 +0000
committerAndre Przywara <andre.przywara@arm.com>2020-02-25 09:34:38 +0000
commitf695e1e01a995e66f9f5be5430fef3b7920082f2 (patch)
tree18c46c2ed3adeff905ffe8032444643d06a44f15 /plat/qemu
parent489e298744fa668bd46661237f81cd9ba05e3b4e (diff)
downloadplatform_external_arm-trusted-firmware-f695e1e01a995e66f9f5be5430fef3b7920082f2.tar.gz
platform_external_arm-trusted-firmware-f695e1e01a995e66f9f5be5430fef3b7920082f2.tar.bz2
platform_external_arm-trusted-firmware-f695e1e01a995e66f9f5be5430fef3b7920082f2.zip
pl011: Use generic console_t data structure
Since now the generic console_t structure holds the UART base address as well, let's use that generic location and drop the UART driver specific data structure at all. Change-Id: I7a23327394d142af4b293ea7ccd90b843c54587c Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/qemu')
-rw-r--r--plat/qemu/common/qemu_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/qemu/common/qemu_console.c b/plat/qemu/common/qemu_console.c
index fec182892..1f00f8a72 100644
--- a/plat/qemu/common/qemu_console.c
+++ b/plat/qemu/common/qemu_console.c
@@ -9,7 +9,7 @@
#include <drivers/console.h>
#include <drivers/arm/pl011.h>
-static console_pl011_t console;
+static console_t console;
void qemu_console_init(void)
{
@@ -17,7 +17,7 @@ void qemu_console_init(void)
PLAT_QEMU_BOOT_UART_CLK_IN_HZ,
PLAT_QEMU_CONSOLE_BAUDRATE, &console);
- console_set_scope(&console.console, CONSOLE_FLAG_BOOT |
+ console_set_scope(&console, CONSOLE_FLAG_BOOT |
CONSOLE_FLAG_RUNTIME);
}