Clarify platform porting interface to TSP
authorDan Handley <dan.handley@arm.com>
Mon, 4 Aug 2014 10:41:20 +0000 (11:41 +0100)
committerDan Handley <dan.handley@arm.com>
Tue, 19 Aug 2014 09:55:54 +0000 (10:55 +0100)
commit5a06bb7e0b3ec6c98857423f52a1f98b54e46303
treeb4a608f3de36ebc2bf17560175d22755e0411d30
parentda0af78aa230d3a873923e05643071f761f593e2
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
18 files changed:
Makefile
bl32/tsp/aarch64/tsp_entrypoint.S
bl32/tsp/tsp-fvp.mk [deleted file]
bl32/tsp/tsp.ld.S
bl32/tsp/tsp.mk
bl32/tsp/tsp_interrupt.c
bl32/tsp/tsp_main.c
docs/porting-guide.md
include/bl32/payloads/tsp.h [deleted file]
include/bl32/tsp/platform_tsp.h [new file with mode: 0644]
include/bl32/tsp/tsp.h [new file with mode: 0644]
include/plat/common/platform.h
plat/fvp/aarch64/fvp_helpers.S
plat/fvp/bl32_fvp_setup.c [deleted file]
plat/fvp/include/platform_def.h
plat/fvp/tsp/tsp-fvp.mk [new file with mode: 0644]
plat/fvp/tsp/tsp_fvp_setup.c [new file with mode: 0644]
services/spd/tspd/tspd.mk