mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
refactor(console): flush before console_switch_state
TF-A plans to move console_flush() and console_switch_state(CONSOLE_FLAG_RUNTIME) to the end of bl31_main() before BL31 exits. Add console_flush() in the generic implementation of bl31_plat_runtime_setup() call so that platforms can implement or follow the generic pattern to test this implementation before console_flush() and console_switch_state() move to bl31_main(). This patch affects the generic implementation of bl31_plat_runtime_setup() Change-Id: I92b4176022bfb84558dec5a83386e8ecef49516a Signed-off-by: Salman Nabi <salman.nabi@arm.com>
This commit is contained in:
parent
6c7a0394f3
commit
b90bbd1af4
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014-2023, Arm Limited and Contributors. All rights reserved.
|
||||
* Copyright (c) 2014-2024, Arm Limited and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -35,6 +35,7 @@
|
|||
|
||||
void bl31_plat_runtime_setup(void)
|
||||
{
|
||||
console_flush();
|
||||
console_switch_state(CONSOLE_FLAG_RUNTIME);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue