summaryrefslogtreecommitdiff
path: root/plat/common
diff options
context:
space:
mode:
authorDaniel Boulby <daniel.boulby@arm.com>2018-09-19 13:58:20 +0100
committerDaniel Boulby <daniel.boulby@arm.com>2018-09-21 13:04:07 +0100
commit7e2bbef9f979233bb6fc3d3cdce244dec2d9e18d (patch)
tree9c338d950a72141737c8981df40e085c943558a3 /plat/common
parent09d2be11a1bd94ca46a04dd0b25cd94d5abf62c5 (diff)
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 <daniel.boulby@arm.com>
Diffstat (limited to 'plat/common')
-rw-r--r--plat/common/aarch32/plat_sp_min_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plat/common/aarch32/plat_sp_min_common.c b/plat/common/aarch32/plat_sp_min_common.c
index 67ae817e..57559c8a 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