arm-trusted-firmware/plat/hisilicon/hikey960
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
..
aarch64 feat(hikey960): upgrade to xlat_tables_v2 2022-10-24 13:53:44 +02:00
drivers Update hisilicon drivers to not rely on undefined overflow behaviour 2019-07-12 09:12:19 +01:00
include build: always prefix section names with . 2023-02-20 18:29:33 +00:00
hikey960_bl1_setup.c pl011: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
hikey960_bl2_mem_params_desc.c feat(hikey960): add SP manifest for SPMC_AT_EL3 2022-11-02 15:35:00 +01:00
hikey960_bl2_setup.c feat(hikey960): read serial number from UFS 2022-11-02 15:35:03 +01:00
hikey960_bl31_setup.c refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
hikey960_bl_common.c hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
hikey960_boardid.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey960_def.h feat(hikey960): add plat-defines for SPMC_AT_EL3 2022-11-02 15:35:03 +01:00
hikey960_el3_spmc_logical_sp.c feat(hikey960): add a FF-A logical partition 2022-11-02 15:35:03 +01:00
hikey960_image_load.c feat(hikey960): add SP manifest for SPMC_AT_EL3 2022-11-02 15:35:00 +01:00
hikey960_io_storage.c feat(hikey960): read serial number from UFS 2022-11-02 15:35:03 +01:00
hikey960_mcu_load.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey960_pm.c hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
hikey960_private.h feat(hikey960): read serial number from UFS 2022-11-02 15:35:03 +01:00
hikey960_rotpk.S hikey960: Add development TBB support 2018-09-09 08:02:50 -04:00
hikey960_tbbr.c Mbed TLS: Remove weak heap implementation 2019-04-12 09:52:52 +01:00
hikey960_topology.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
platform.mk refactor(build): distinguish BL2 as TF-A entry point and BL2 running at EL3 2023-03-15 11:43:14 +00:00