diff options
author | Mark Dykes <mardyk01@review.trustedfirmware.org> | 2020-02-25 23:16:14 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2020-02-25 23:16:14 +0000 |
commit | 093dce703296c82865fdaaa231f6287942d5039d (patch) | |
tree | 27fa17cb835e1e1d9da5ce1e099253fee7603102 /plat/socionext | |
parent | ad8922fcd915491587e86295b43b91d9d399407c (diff) | |
parent | f695e1e01a995e66f9f5be5430fef3b7920082f2 (diff) | |
download | trusted-firmware-a-093dce703296c82865fdaaa231f6287942d5039d.tar.gz |
Merge "pl011: Use generic console_t data structure" into integration
Diffstat (limited to 'plat/socionext')
-rw-r--r-- | plat/socionext/synquacer/sq_bl31_setup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plat/socionext/synquacer/sq_bl31_setup.c b/plat/socionext/synquacer/sq_bl31_setup.c index b86402179a..9723ef9f02 100644 --- a/plat/socionext/synquacer/sq_bl31_setup.c +++ b/plat/socionext/synquacer/sq_bl31_setup.c @@ -16,7 +16,7 @@ #include <lib/mmio.h> #include <sq_common.h> -static console_pl011_t console; +static console_t console; static entry_point_info_t bl32_image_ep_info; static entry_point_info_t bl33_image_ep_info; @@ -69,8 +69,7 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1, PLAT_SQ_BOOT_UART_CLK_IN_HZ, SQ_CONSOLE_BAUDRATE, &console); - console_set_scope(&console.console, CONSOLE_FLAG_BOOT | - CONSOLE_FLAG_RUNTIME); + console_set_scope(&console, CONSOLE_FLAG_BOOT | CONSOLE_FLAG_RUNTIME); /* There are no parameters from BL2 if BL31 is a reset vector */ assert(arg0 == 0U); |