arm-trusted-firmware/plat/hisilicon/hikey
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 Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
include hisilicon: Unify Platform specific defines for PSCI module 2020-01-24 13:01:27 +00:00
hikey_bl1_setup.c fix: libc: use long for 64-bit types on aarch64 2021-11-08 14:41:17 +00:00
hikey_bl2_mem_params_desc.c chore: use tabs for indentation 2022-08-30 19:40:44 +02:00
hikey_bl2_setup.c plat/hisilicon: do not keep mmc_device_info in stack 2021-04-08 08:44:57 +02:00
hikey_bl31_setup.c refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
hikey_bl_common.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey_ddr.c Update hisilicon drivers to not rely on undefined overflow behaviour 2019-07-12 09:12:19 +01:00
hikey_image_load.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey_io_storage.c hikey: fix to load FIP by partition table. 2019-09-18 18:18:57 +08:00
hikey_pm.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey_private.h hikey: fix to load FIP by partition table. 2019-09-18 18:18:57 +08:00
hikey_rotpk.S hikey: Add development TBB support 2018-07-06 07:54:38 -04:00
hikey_security.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey_tbbr.c Mbed TLS: Remove weak heap implementation 2019-04-12 09:52:52 +01:00
hikey_topology.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hisi_dvfs.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hisi_ipc.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hisi_mcu.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hisi_pwrc.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hisi_pwrc_sram.S HiKey: Rename CPUACTRL reg constants 2017-08-29 13:52:48 +01:00
hisi_sip_svc.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