diff --git a/plat/marvell/armada/common/marvell_bl31_setup.c b/plat/marvell/armada/common/marvell_bl31_setup.c index 26ba90654..a11af9550 100644 --- a/plat/marvell/armada/common/marvell_bl31_setup.c +++ b/plat/marvell/armada/common/marvell_bl31_setup.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018 Marvell International Ltd. + * Copyright (C) 2018-2024 Marvell International Ltd. * * SPDX-License-Identifier: BSD-3-Clause * https://spdx.org/licenses @@ -181,10 +181,11 @@ void marvell_bl31_platform_setup(void) */ void marvell_bl31_plat_runtime_setup(void) { - console_switch_state(CONSOLE_FLAG_RUNTIME); - /* Initialize the runtime console */ marvell_console_runtime_init(); + + console_flush(); + console_switch_state(CONSOLE_FLAG_RUNTIME); } void bl31_platform_setup(void)