aboutsummaryrefslogtreecommitdiffstats
path: root/plat/intel/soc/agilex
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
commit98964f0523d6c5dc5ee8e6bb8212ffc7df5efe14 (patch)
treec70b714911adead3b9f3471f23a389b6d73f8a4f /plat/intel/soc/agilex
parentd7873bcd541b99a816c4ea6f1cce66858641f6fc (diff)
downloadplatform_external_arm-trusted-firmware-98964f0523d6c5dc5ee8e6bb8212ffc7df5efe14.tar.gz
platform_external_arm-trusted-firmware-98964f0523d6c5dc5ee8e6bb8212ffc7df5efe14.tar.bz2
platform_external_arm-trusted-firmware-98964f0523d6c5dc5ee8e6bb8212ffc7df5efe14.zip
16550: 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: I5c2fe3b6a667acf80c808cfec4a64059a2c9c25f Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/intel/soc/agilex')
-rw-r--r--plat/intel/soc/agilex/bl2_plat_setup.c2
-rw-r--r--plat/intel/soc/agilex/bl31_plat_setup.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plat/intel/soc/agilex/bl2_plat_setup.c b/plat/intel/soc/agilex/bl2_plat_setup.c
index f32820777..468b356b5 100644
--- a/plat/intel/soc/agilex/bl2_plat_setup.c
+++ b/plat/intel/soc/agilex/bl2_plat_setup.c
@@ -51,7 +51,7 @@ boot_source_type boot_source = BOOT_SOURCE;
void bl2_el3_early_platform_setup(u_register_t x0, u_register_t x1,
u_register_t x2, u_register_t x4)
{
- static console_16550_t console;
+ static console_t console;
handoff reverse_handoff_ptr;
generic_delay_timer_init();
diff --git a/plat/intel/soc/agilex/bl31_plat_setup.c b/plat/intel/soc/agilex/bl31_plat_setup.c
index 4b1144095..6f32aff4a 100644
--- a/plat/intel/soc/agilex/bl31_plat_setup.c
+++ b/plat/intel/soc/agilex/bl31_plat_setup.c
@@ -37,7 +37,7 @@ entry_point_info_t *bl31_plat_get_next_image_ep_info(uint32_t type)
void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
u_register_t arg2, u_register_t arg3)
{
- static console_16550_t console;
+ static console_t console;
console_16550_register(PLAT_UART0_BASE, PLAT_UART_CLOCK, PLAT_BAUDRATE,
&console);