mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-22 12:34:19 +00:00
fix(mediatek): switch console to runtime state before leaving BL31
We should switch console to runtime state. If we don't do this, the state will keep boot state even we exit from BL31. Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: Id2269ccf2fdc22e0fa088c3c0365836730172233
This commit is contained in:
parent
8487cc85b5
commit
fcf4dd9f79
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ void bl31_platform_setup(void)
|
|||
void bl31_plat_runtime_setup(void)
|
||||
{
|
||||
mtk_init_one_level(MTK_INIT_LVL_PLAT_RUNTIME);
|
||||
console_switch_state(CONSOLE_FLAG_RUNTIME);
|
||||
}
|
||||
|
||||
unsigned int plat_get_syscnt_freq2(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue