arm-trusted-firmware/plat/marvell/armada/common/mss
Konstantin Porotchkin b5a0663771 plat/marvell/armada: postpone MSS CPU startup to BL31 stage
Normally the CP MSS CPU was started at the end of FW load to IRAM at BL2.
However, (especailly in secure boot mode), some bus attributes should be
changed from defaults before the MSS CPU tries to access shared resources.
This patch starts to use CP MSS SRAM for FW load in both secure and
non-secure boot modes.
The FW loader inserts a magic number into MSS SRAM as an indicator of
successfully loaded FS during the BL2 stage and skips releasing the MSS
CPU from the reset state.
Then, at BL31 stage, the MSS CPU is released from reset following the
call to cp110_init function that handles all the required bus attributes
configurations.

Change-Id: Idcf81cc350a086835abed365154051dd79f1ce2e
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/boot/atf/+/46890
Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
2021-04-20 12:59:58 +02:00
..
mss_common.mk plat: marvell: armada: make a8k_common.mk and mss_common.mk more generic 2020-06-07 00:06:03 +02:00
mss_ipc_drv.c marvell: armada: add extra level in marvell platform hierarchy 2020-06-07 00:06:03 +02:00
mss_ipc_drv.h marvell: armada: add extra level in marvell platform hierarchy 2020-06-07 00:06:03 +02:00
mss_mem.h marvell: armada: add extra level in marvell platform hierarchy 2020-06-07 00:06:03 +02:00
mss_scp_bl2_format.h plat/marvell/armada/common/mss: use MSS SRAM in secure mode 2021-02-24 13:56:31 +00:00
mss_scp_bootloader.c plat/marvell/armada: postpone MSS CPU startup to BL31 stage 2021-04-20 12:59:58 +02:00
mss_scp_bootloader.h plat/marvell/armada/common/mss: use MSS SRAM in secure mode 2021-02-24 13:56:31 +00:00