diff options
author | Ambroise Vincent <ambroise.vincent@arm.com> | 2019-04-24 10:34:17 +0100 |
---|---|---|
committer | Ambroise Vincent <ambroise.vincent@arm.com> | 2019-04-24 10:50:16 +0100 |
commit | c9ac30a58a4bfb2392eeee3f2790c73709a95d18 (patch) | |
tree | 29cdcfaaa5aed4e5d5371b2c54de985346364799 | |
parent | 71892ca3315233d3514275de83c7e5a0e3b4533f (diff) |
Console: Remove Arm console unregister on suspend
Change-Id: Ie649b3c367a93db057eeaee7e83fa3e43f8c2607
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
-rw-r--r-- | plat/arm/common/arm_console.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plat/arm/common/arm_console.c b/plat/arm/common/arm_console.c index 84886b47..580b2ee0 100644 --- a/plat/arm/common/arm_console.c +++ b/plat/arm/common/arm_console.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -80,9 +80,7 @@ void arm_console_runtime_end(void) { (void)console_flush(); -#if MULTI_CONSOLE_API - (void)console_unregister(&arm_runtime_console.console); -#else +#if !MULTI_CONSOLE_API console_uninit(); -#endif /* MULTI_CONSOLE_API */ +#endif /* !MULTI_CONSOLE_API */ } |