diff options
author | Dan Handley <dan.handley@arm.com> | 2014-08-04 11:41:20 +0100 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-08-19 10:55:54 +0100 |
commit | 5a06bb7e0b3ec6c98857423f52a1f98b54e46303 (patch) | |
tree | b4a608f3de36ebc2bf17560175d22755e0411d30 /include/plat | |
parent | da0af78aa230d3a873923e05643071f761f593e2 (diff) |
Clarify platform porting interface to TSP
* Move TSP platform porting functions to new file:
include/bl32/tsp/platform_tsp.h.
* Create new TSP_IRQ_SEC_PHY_TIMER definition for use by the generic
TSP interrupt handling code, instead of depending on the FVP
specific definition IRQ_SEC_PHY_TIMER.
* Rename TSP platform porting functions from bl32_* to tsp_*, and
definitions from BL32_* to TSP_*.
* Update generic TSP code to use new platform porting function names
and definitions.
* Update FVP port accordingly and move all TSP source files to:
plat/fvp/tsp/.
* Update porting guide with above changes.
Note: THIS CHANGE REQUIRES ALL PLATFORM PORTS OF THE TSP TO
BE UPDATED
Fixes ARM-software/tf-issues#167
Change-Id: Ic0ff8caf72aebb378d378193d2f017599fc6b78f
Diffstat (limited to 'include/plat')
-rw-r--r-- | include/plat/common/platform.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h index ab93123c..8e038aa7 100644 --- a/include/plat/common/platform.h +++ b/include/plat/common/platform.h @@ -78,6 +78,7 @@ int plat_crash_console_putc(int c); /******************************************************************************* * Mandatory BL1 functions ******************************************************************************/ +void bl1_early_platform_setup(void); void bl1_plat_arch_setup(void); void bl1_platform_setup(void); struct meminfo *bl1_plat_sec_mem_layout(void); @@ -98,6 +99,7 @@ void bl1_init_bl2_mem_layout(const struct meminfo *bl1_mem_layout, /******************************************************************************* * Mandatory BL2 functions ******************************************************************************/ +void bl2_early_platform_setup(struct meminfo *mem_layout); void bl2_plat_arch_setup(void); void bl2_platform_setup(void); struct meminfo *bl2_plat_sec_mem_layout(void); @@ -185,11 +187,6 @@ unsigned int plat_get_aff_state(unsigned int, unsigned long); void bl31_plat_enable_mmu(uint32_t flags); /******************************************************************************* - * Mandatory BL3-2 functions (only if platform contains a BL3-2) - ******************************************************************************/ -void bl32_platform_setup(void); - -/******************************************************************************* * Optional BL3-2 functions (may be overridden) ******************************************************************************/ void bl32_plat_enable_mmu(uint32_t flags); |