arm-trusted-firmware/plat/arm/board/fvp
Soby Mathew 785fb92b8a Reorganise PSCI PM handler setup on ARM Standard platforms
This patch does the following reorganization to psci power management (PM)
handler setup for ARM standard platform ports :

1. The mailbox programming required during `plat_setup_psci_ops()` is identical
   for all ARM platforms. Hence the implementation of this API is now moved
   to the common `arm_pm.c` file. Each ARM platform now must define the
   PLAT_ARM_TRUSTED_MAILBOX_BASE macro, which in current platforms is the same
   as ARM_SHARED_RAM_BASE.

2. The PSCI PM handler callback structure, `plat_psci_ops`, must now be
   exported via `plat_arm_psci_pm_ops`. This allows the common implementation
   of `plat_setup_psci_ops()` to return a platform specific `plat_psci_ops`.
   In the case of CSS platforms, a default weak implementation of the same is
   provided in `css_pm.c` which can be overridden by each CSS platform.

3. For CSS platforms, the PSCI PM handlers defined in `css_pm.c` are now
   made library functions and a new header file `css_pm.h` is added to export
   these generic PM handlers. This allows the platform to reuse the
   adequate CSS PM handlers and redefine others which need to be customized
   when overriding the default `plat_arm_psci_pm_ops` in `css_pm.c`.

Change-Id: I277910f609e023ee5d5ff0129a80ecfce4356ede
2015-10-20 14:11:04 +01:00
..
aarch64 Reorganise PSCI PM handler setup on ARM Standard platforms 2015-10-20 14:11:04 +01:00
drivers/pwrc FVP: Correct the PSYSR_WK bit width in platform_get_entrypoint 2015-06-03 14:43:14 +01:00
include Reorganise PSCI PM handler setup on ARM Standard platforms 2015-10-20 14:11:04 +01:00
tsp PSCI: Migrate ARM reference platforms to new platform API 2015-08-13 23:48:06 +01:00
fvp_bl1_setup.c Move FVP port to plat/arm/board/fvp 2015-04-28 19:50:56 +01:00
fvp_bl2_setup.c FVP: Add SP804 delay timer 2015-06-18 16:06:32 +01:00
fvp_bl31_setup.c Always enable CCI coherency in BL3-1 2015-06-01 10:03:32 +01:00
fvp_def.h Reorganise PSCI PM handler setup on ARM Standard platforms 2015-10-20 14:11:04 +01:00
fvp_io_storage.c Use numbers to identify images instead of names 2015-06-25 08:53:26 +01:00
fvp_pm.c Reorganise PSCI PM handler setup on ARM Standard platforms 2015-10-20 14:11:04 +01:00
fvp_private.h Move FVP port to plat/arm/board/fvp 2015-04-28 19:50:56 +01:00
fvp_security.c Move FVP port to plat/arm/board/fvp 2015-04-28 19:50:56 +01:00
fvp_topology.c PSCI: Migrate ARM reference platforms to new platform API 2015-08-13 23:48:06 +01:00
platform.mk PSCI: Migrate ARM reference platforms to new platform API 2015-08-13 23:48:06 +01:00