aboutsummaryrefslogtreecommitdiffstats
path: root/plat
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
commit489e298744fa668bd46661237f81cd9ba05e3b4e (patch)
tree8725e9acf5f96d728d56d56273576e79de18dbc2 /plat
parentac71344e9eca1f7d1e0ce4a67aca776470639b1c (diff)
downloadplatform_external_arm-trusted-firmware-489e298744fa668bd46661237f81cd9ba05e3b4e.tar.gz
platform_external_arm-trusted-firmware-489e298744fa668bd46661237f81cd9ba05e3b4e.tar.bz2
platform_external_arm-trusted-firmware-489e298744fa668bd46661237f81cd9ba05e3b4e.zip
meson: 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: I07a07677153d3671ced776671e4f107824d3df16 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/amlogic/common/aml_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/amlogic/common/aml_console.c b/plat/amlogic/common/aml_console.c
index 352279b6c..e21d707a0 100644
--- a/plat/amlogic/common/aml_console.c
+++ b/plat/amlogic/common/aml_console.c
@@ -11,7 +11,7 @@
/*******************************************************************************
* Function that sets up the console
******************************************************************************/
-static console_meson_t aml_console;
+static console_t aml_console;
void aml_console_init(void)
{
@@ -28,6 +28,6 @@ void aml_console_init(void)
panic();
}
- console_set_scope(&aml_console.console,
+ console_set_scope(&aml_console,
CONSOLE_FLAG_BOOT | CONSOLE_FLAG_RUNTIME);
}