commit | c2a4e9b52cc1a94f801c7efd3efa1e07baf45ac0 | [log] [tgz] |
---|---|---|
author | Salman Nabi <salman.nabi@arm.com> | Thu Mar 07 14:08:03 2024 +0000 |
committer | Salman Nabi <salman.nabi@arm.com> | Tue Jan 21 12:22:57 2025 +0100 |
tree | 372e5f709feec1ce4105c34eb8929a4b00b4199d | |
parent | 94a87702f9047ad4e06cbf0685e37ced0a63e126 [diff] |
refactor(bl32): flush before console switch state Move console_switch_state(CONSOLE_FLAG_RUNTIME) to sp_min_main() so that this becomes the last call before bl32/sp_min exits. This also ensures that console_flush() is called before switching console state to runtime. This patch mimics the behavior of console_switch_state() call in BL31 per this patch https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/26771/4. Change-Id: I5b562d02706b19bb8b14154be97b6e9ef4e2fd3b Signed-off-by: Salman Nabi <salman.nabi@arm.com>