From 7e2bbef9f979233bb6fc3d3cdce244dec2d9e18d Mon Sep 17 00:00:00 2001 From: Daniel Boulby Date: Wed, 19 Sep 2018 13:58:20 +0100 Subject: pl011: Add support in AArch32 for MULTI_CONSOLE_API Allow AArch32 to use the multi console driver by adding the required functions Change-Id: I9e69f18965f320074cf75442d6b0de891aef7936 Signed-off-by: Daniel Boulby --- plat/common/aarch32/plat_sp_min_common.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plat/common') diff --git a/plat/common/aarch32/plat_sp_min_common.c b/plat/common/aarch32/plat_sp_min_common.c index 67ae817e6..57559c8af 100644 --- a/plat/common/aarch32/plat_sp_min_common.c +++ b/plat/common/aarch32/plat_sp_min_common.c @@ -21,7 +21,11 @@ void sp_min_plat_runtime_setup(void) * Finish the use of console driver in SP_MIN so that any runtime logs * from SP_MIN will be suppressed. */ +#if MULTI_CONSOLE_API + console_switch_state(CONSOLE_FLAG_RUNTIME); +#else console_uninit(); +#endif } #if !ERROR_DEPRECATED -- cgit v1.2.3