arm-trusted-firmware/plat/mediatek/common
Salman Nabi af3e8e63b4 refactor(console): consolidate console runtime switch
Refactor console_flush() and console_switch_state(CONSOLE_FLAG_RUNTIME)
to bl31_main(). This has been done per the recommendation in TF-A
mailing list. These calls need to be the last calls, after any runtime
initialization has been done, before BL31 exits.

All platforms that override the generic implementation of
bl31_plat_runtime_setup() have been refactored. The console_flush()
and console_switch_state() calls have been removed as they become
part of bl31_main() function.

Any platform that don't need to make any change to the generic (weak)
implementation of bl31_plat_runtime_setup() don't need to override it
in their platforms.

Change-Id: I6d04d6daa9353daeaa7e3df9e9adf6f322a917b8
Signed-off-by: Salman Nabi <salman.nabi@arm.com>
2024-05-08 15:50:58 +02:00
..
lpm refactor(mediatek): add new LPM API for further extension 2023-01-11 13:37:51 +08:00
common_config.mk chore: remove MULTI_CONSOLE_API references 2023-09-12 15:28:36 +02:00
coreboot_config.mk feat(mediatek): support coreboot BL31 loading 2022-08-31 09:32:32 +08:00
mtk_bl31_setup.c refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
mtk_plat_common.c feat(mediatek): implement generic platform port 2022-08-30 16:47:43 +08:00
mtk_plat_common.h feat(mediatek): implement generic platform port 2022-08-30 16:47:43 +08:00
mtk_sip_svc.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
mtk_smc_handlers.c Merge changes I924ea85d,I22e128c4,I7a5cfaac into integration 2023-03-21 10:46:41 +01:00
params_setup.c mediatek: mt8183: pass platform parameters 2019-09-10 11:25:29 +08:00
plat_params.h mediatek: mt8183: pass platform parameters 2019-09-10 11:25:29 +08:00
rules.mk feat(mediatek): implement generic platform port 2022-08-30 16:47:43 +08:00