diff options
author | Dan Handley <dan.handley@arm.com> | 2014-04-09 13:14:54 +0100 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-05-06 13:57:48 +0100 |
commit | 97043ac98e13a726dbf8b3b41654dca759e3da2c (patch) | |
tree | 18133148dea88d9a2313113111b24b56e8130505 /plat/common | |
parent | fb037bfb7cbf7b404c069b4ebac5a10059d948b1 (diff) |
Reduce deep nesting of header files
Reduce the number of header files included from other header
files as much as possible without splitting the files. Use forward
declarations where possible. This allows removal of some unnecessary
"#ifndef __ASSEMBLY__" statements.
Also, review the .c and .S files for which header files really need
including and reorder the #include statements alphabetically.
Fixes ARM-software/tf-issues#31
Change-Id: Iec92fb976334c77453e010b60bcf56f3be72bd3e
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 29268ba..7e20121 100644 --- a/plat/common/aarch64/platform_helpers.S +++ b/plat/common/aarch64/platform_helpers.S @@ -29,8 +29,8 @@ */ #include <arch.h> -#include <platform.h> #include <asm_macros.S> +#include <platform.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 1438814..ebbf509 100644 --- a/plat/common/aarch64/platform_mp_stack.S +++ b/plat/common/aarch64/platform_mp_stack.S @@ -29,8 +29,8 @@ */ #include <arch.h> -#include <platform.h> #include <asm_macros.S> +#include <platform.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 b321a4e..880793d 100644 --- a/plat/common/aarch64/platform_up_stack.S +++ b/plat/common/aarch64/platform_up_stack.S @@ -29,8 +29,8 @@ */ #include <arch.h> -#include <platform.h> #include <asm_macros.S> +#include <platform.h> .local pcpu_dv_mem_stack |