Split platform.h into separate headers
authorDan Handley <dan.handley@arm.com>
Wed, 14 May 2014 16:44:19 +0000 (17:44 +0100)
committerAchin Gupta <achin.gupta@arm.com>
Fri, 23 May 2014 14:52:29 +0000 (15:52 +0100)
commit5f0cdb059d7d5c3a8a834074a7f236b85d014dde
tree9d249567a958eb8417b08f095813ecde6bb2435b
parent7a9a5f2d22c4f76ae95300fe52129603d29bccc1
Split platform.h into separate headers

Previously, platform.h contained many declarations and definitions
used for different purposes. This file has been split so that:

* Platform definitions used by common code that must be defined
  by the platform are now in platform_def.h. The exact include
  path is exported through $PLAT_INCLUDES in the platform makefile.

* Platform definitions specific to the FVP platform are now in
  /plat/fvp/fvp_def.h.

* Platform API declarations specific to the FVP platform are now
  in /plat/fvp/fvp_private.h.

* The remaining platform API declarations that must be ported by
  each platform are still in platform.h but this file has been
  moved to /include/plat/common since this can be shared by all
  platforms.

Change-Id: Ieb3bb22fbab3ee8027413c6b39a783534aee474a
48 files changed:
Makefile
bl1/bl1.ld.S
bl1/bl1_main.c
bl2/bl2.ld.S
bl2/bl2_main.c
bl31/aarch64/runtime_exceptions.S
bl31/bl31.ld.S
bl31/context_mgmt.c
bl32/tsp/tsp.ld.S
bl32/tsp/tsp_interrupt.c
bl32/tsp/tsp_main.c
bl32/tsp/tsp_timer.c
drivers/arm/cci400/cci400.c
drivers/arm/pl011/pl011.c
drivers/arm/pl011/pl011_console.c
drivers/io/io_fip.c
include/bl32/payloads/tsp.h
include/drivers/io_driver.h
include/lib/aarch64/arch.h
include/lib/bakery_lock.h
include/plat/common/platform.h [new file with mode: 0644]
lib/aarch64/xlat_tables.c
lib/locks/bakery/bakery_lock.c
plat/common/aarch64/platform_helpers.S
plat/common/aarch64/platform_mp_stack.S
plat/common/aarch64/platform_up_stack.S
plat/fvp/aarch64/plat_common.c
plat/fvp/aarch64/plat_helpers.S
plat/fvp/bl1_plat_setup.c
plat/fvp/bl2_plat_setup.c
plat/fvp/bl31_plat_setup.c
plat/fvp/bl32_plat_setup.c
plat/fvp/drivers/pwrc/fvp_pwrc.c
plat/fvp/fvp_def.h [new file with mode: 0644]
plat/fvp/fvp_private.h [new file with mode: 0644]
plat/fvp/include/plat_macros.S
plat/fvp/include/platform_def.h [new file with mode: 0644]
plat/fvp/plat_gic.c
plat/fvp/plat_io_storage.c
plat/fvp/plat_pm.c
plat/fvp/plat_security.c
plat/fvp/plat_topology.c
plat/fvp/platform.h [deleted file]
services/spd/tspd/tspd_common.c
services/spd/tspd/tspd_pm.c
services/spd/tspd/tspd_private.h
services/std_svc/psci/psci_afflvl_on.c
services/std_svc/psci/psci_common.c