arm-trusted-firmware/plat/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
..
aarch32 build: always prefix section names with . 2023-02-20 18:29:33 +00:00
aarch64 refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
tbbr Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_bl1_common.c refactor(bl1): clean up bl2 layout calculation 2024-04-26 09:00:12 +00:00
plat_bl_common.c SMCCC: Introduce function to check SMCCC function availability 2020-07-26 08:16:29 +01:00
plat_gicv2.c refactor(el3-runtime): plat_ic_has_interrupt_type returns bool 2023-09-25 17:09:15 -05:00
plat_gicv3.c fix(gic600): workaround for Part 1 of GIC600 erratum 2384374 2024-03-06 14:16:35 -06:00
plat_log_common.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_psci_common.c Flush dcache when storing timestamp 2020-03-27 09:41:12 -05:00
plat_spmd_manifest.c feat(spmd): map SPMC manifest region as EL3_PAS 2023-02-07 11:26:38 +00:00
ubsan.c Add UBSAN support and handlers 2019-09-11 14:15:54 +01:00