aboutsummaryrefslogtreecommitdiff
path: root/plat/socionext
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-02-25 23:16:14 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-02-25 23:16:14 +0000
commit093dce703296c82865fdaaa231f6287942d5039d (patch)
tree27fa17cb835e1e1d9da5ce1e099253fee7603102 /plat/socionext
parentad8922fcd915491587e86295b43b91d9d399407c (diff)
parentf695e1e01a995e66f9f5be5430fef3b7920082f2 (diff)
downloadtrusted-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.c5
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);