mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
refactor(nxp): console runtime switch on bl31 exit
TF-A plans to move the console_flush() and console_switch_state(CONOSLE_FLAG_RUNTIME) calls to bl31_main() just before BL31 exits. For now we are mimicking the generic implementation by calling flush and changing the console state to runtime at the end of bl31_plat_runtime_setup() for each platform. This is so that each platform can test it prior to moving flush and switch to bl31_main(). This patch affects the nxp platform only. Change-Id: Ic55334a4a69b57f3c18799da12f4f521ce9de423 Signed-off-by: Salman Nabi <salman.nabi@arm.com>
This commit is contained in:
parent
c1fd8f9d7b
commit
3e6fb87225
1 changed files with 3 additions and 0 deletions
|
@ -186,6 +186,9 @@ void bl31_plat_runtime_setup(void)
|
|||
ls_el3_interrupt_config();
|
||||
#endif
|
||||
soc_runtime_setup();
|
||||
|
||||
console_flush();
|
||||
console_switch_state(CONSOLE_FLAG_RUNTIME);
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue