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 /plat/common | |
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 'plat/common')
-rw-r--r-- | plat/common/aarch64/platform_helpers.S | 2 | ||||
-rw-r--r-- | plat/common/aarch64/platform_mp_stack.S | 2 | ||||
-rw-r--r-- | plat/common/aarch64/platform_up_stack.S | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plat/common/aarch64/platform_helpers.S b/plat/common/aarch64/platform_helpers.S index 7e201213..f6ac13eb 100644 --- a/plat/common/aarch64/platform_helpers.S +++ b/plat/common/aarch64/platform_helpers.S @@ -30,7 +30,7 @@ #include <arch.h> #include <asm_macros.S> -#include <platform.h> +#include <platform_def.h> .weak platform_get_core_pos diff --git a/plat/common/aarch64/platform_mp_stack.S b/plat/common/aarch64/platform_mp_stack.S index ebbf509b..801ec7fa 100644 --- a/plat/common/aarch64/platform_mp_stack.S +++ b/plat/common/aarch64/platform_mp_stack.S @@ -30,7 +30,7 @@ #include <arch.h> #include <asm_macros.S> -#include <platform.h> +#include <platform_def.h> .local pcpu_dv_mem_stack diff --git a/plat/common/aarch64/platform_up_stack.S b/plat/common/aarch64/platform_up_stack.S index 880793d8..45a96a64 100644 --- a/plat/common/aarch64/platform_up_stack.S +++ b/plat/common/aarch64/platform_up_stack.S @@ -30,7 +30,7 @@ #include <arch.h> #include <asm_macros.S> -#include <platform.h> +#include <platform_def.h> .local pcpu_dv_mem_stack |