arm-trusted-firmware/plat/fvp
Vikram Kanigiri 50e27dadbc Rework the TSPD setup code
There is no mechanism which allows the TSPD to specify what SPSR to
use when entering BL3-2 instead of BL3-3. This patch divides the
responsibility between tspd_setup() and tspd_init() for initializing
the TSPD and TSP to support the alternate BL3-2 initialization flow
where BL3-1 handsover control to BL3-2 instead of BL3-3.
SPSR generated by TSPD for TSP is preserved due the new division of
labour which fixes #174.

This patch also moves the cpu_context initialization code from
tspd_setup() to tspd_init() immediately before entering the TSP.
Instead tspd_setup() updates the BL3-2 entrypoint info structure
with the state required for initializing the TSP later.

Fixes  ARM-software/TF-issues#174

Change-Id: Ida0a8a48d466c71d5b07b8c7f2af169b73f96940
2014-08-01 09:46:52 +01:00
..
aarch64 Merge pull request #177 from jcastillo-arm/jc/tf-issues/096 2014-07-28 14:33:44 +01:00
drivers/pwrc Remove calling CPU mpidr from bakery lock API 2014-06-23 23:16:39 +01:00
include Merge pull request #172 from soby-mathew/sm/asm_assert 2014-07-28 14:28:40 +01:00
bl1_fvp_setup.c Parametrize baudrate and UART clock during console_init() 2014-07-28 10:44:04 +01:00
bl2_fvp_setup.c Parametrize baudrate and UART clock during console_init() 2014-07-28 10:44:04 +01:00
bl31_fvp_setup.c Rework the TSPD setup code 2014-08-01 09:46:52 +01:00
bl32_fvp_setup.c Parametrize baudrate and UART clock during console_init() 2014-07-28 10:44:04 +01:00
fvp_def.h Parametrize baudrate and UART clock during console_init() 2014-07-28 10:44:04 +01:00
fvp_io_storage.c Rename FVP specific files and functions 2014-05-23 18:01:41 +01:00
fvp_pm.c Remove the concept of coherent stacks 2014-07-28 10:04:04 +01:00
fvp_private.h Refactor fvp gic code to be a generic driver 2014-07-09 16:36:39 +01:00
fvp_security.c Refactor fvp_config into common platform header 2014-07-09 16:28:07 +01:00
fvp_topology.c Remove all checkpatch errors from codebase 2014-06-24 12:50:00 +01:00
platform.mk Introduce asm console functions in TF 2014-07-28 10:44:04 +01:00