diff options
author | Dan Handley <dan.handley@arm.com> | 2014-05-14 17:44:19 +0100 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2014-05-23 15:52:29 +0100 |
commit | 5f0cdb059d7d5c3a8a834074a7f236b85d014dde (patch) | |
tree | 9d249567a958eb8417b08f095813ecde6bb2435b /services | |
parent | 7a9a5f2d22c4f76ae95300fe52129603d29bccc1 (diff) |
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
Diffstat (limited to 'services')
-rw-r--r-- | services/spd/tspd/tspd_common.c | 1 | ||||
-rw-r--r-- | services/spd/tspd/tspd_pm.c | 1 | ||||
-rw-r--r-- | services/spd/tspd/tspd_private.h | 2 | ||||
-rw-r--r-- | services/std_svc/psci/psci_afflvl_on.c | 1 | ||||
-rw-r--r-- | services/std_svc/psci/psci_common.c | 1 |
5 files changed, 4 insertions, 2 deletions
diff --git a/services/spd/tspd/tspd_common.c b/services/spd/tspd/tspd_common.c index 2ca6a56a..6b3592e3 100644 --- a/services/spd/tspd/tspd_common.c +++ b/services/spd/tspd/tspd_common.c @@ -32,7 +32,6 @@ #include <assert.h> #include <bl_common.h> #include <context_mgmt.h> -#include <platform.h> #include <string.h> #include "tspd_private.h" diff --git a/services/spd/tspd/tspd_pm.c b/services/spd/tspd/tspd_pm.c index 2f204494..ec4989df 100644 --- a/services/spd/tspd/tspd_pm.c +++ b/services/spd/tspd/tspd_pm.c @@ -33,6 +33,7 @@ #include <bl_common.h> #include <context_mgmt.h> #include <debug.h> +#include <platform.h> #include <tsp.h> #include "tspd_private.h" diff --git a/services/spd/tspd/tspd_private.h b/services/spd/tspd/tspd_private.h index fb719225..5d7bf4b6 100644 --- a/services/spd/tspd/tspd_private.h +++ b/services/spd/tspd/tspd_private.h @@ -34,7 +34,7 @@ #include <arch.h> #include <context.h> #include <interrupt_mgmt.h> -#include <platform.h> +#include <platform_def.h> #include <psci.h> /******************************************************************************* diff --git a/services/std_svc/psci/psci_afflvl_on.c b/services/std_svc/psci/psci_afflvl_on.c index 360b2860..1e5828ca 100644 --- a/services/std_svc/psci/psci_afflvl_on.c +++ b/services/std_svc/psci/psci_afflvl_on.c @@ -34,6 +34,7 @@ #include <bl_common.h> #include <bl31.h> #include <context_mgmt.h> +#include <platform.h> #include <runtime_svc.h> #include <stddef.h> #include "psci_private.h" diff --git a/services/std_svc/psci/psci_common.c b/services/std_svc/psci/psci_common.c index c61e87ad..b1ee10da 100644 --- a/services/std_svc/psci/psci_common.c +++ b/services/std_svc/psci/psci_common.c @@ -35,6 +35,7 @@ #include <context.h> #include <context_mgmt.h> #include <debug.h> +#include <platform.h> #include "psci_private.h" /* |