arm-trusted-firmware/plat
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
..
allwinner refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
amlogic build: use toolchain identifiers in conditions 2024-02-06 11:14:52 +00:00
arm Merge changes from topic "fix_psci_osi" into integration 2024-05-08 15:45:12 +02:00
aspeed/ast2700 fix(ast2700): add device mapping for coherent memory 2023-10-30 11:30:03 +02:00
brcm refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
common refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
hisilicon refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
imx refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
intel/soc refactor: fix common misspelling of init* 2024-03-20 11:44:00 +00:00
marvell refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
mediatek refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
nuvoton fix(nuvoton): prevent changing clock frequency 2024-03-26 16:44:07 +02:00
nvidia/tegra refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
nxp refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
qemu refactor(cpufeat): add macro to simplify is_feat_xx_present 2024-05-02 12:16:16 -05:00
qti chore: remove MULTI_CONSOLE_API references 2023-09-12 15:28:36 +02:00
renesas build(rzg): separate BL2 and BL31 SREC generation 2024-04-29 12:47:01 +00:00
rockchip fix(rockchip): add support for building with LTO enabled 2024-02-24 00:42:50 +03:00
rpi feat(rpi): add Raspberry Pi 5 support 2024-03-08 21:05:08 +02:00
socionext refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
st refactor(stm32mp1): move the MCU security to BL32 2024-03-19 15:49:14 +01:00
ti/k3 Revert "fix(ti): do not take system power reference in bl31_platform_setup()" 2024-02-05 10:45:48 +05:30
xilinx refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00