Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
9f0f203d
Unverified
Commit
9f0f203d
authored
Jan 16, 2019
by
Antonio Niño Díaz
Committed by
GitHub
Jan 16, 2019
Browse files
Merge pull request #1756 from antonio-nino-diaz-arm/an/header-deps
plat/arm: Fix header dependencies
parents
fe77b53e
234bc7f8
Changes
50
Show whitespace changes
Inline
Side-by-side
include/plat/arm/common/arm_def.h
View file @
9f0f203d
...
@@ -6,8 +6,6 @@
...
@@ -6,8 +6,6 @@
#ifndef ARM_DEF_H
#ifndef ARM_DEF_H
#define ARM_DEF_H
#define ARM_DEF_H
#include <platform_def.h>
#include <arch.h>
#include <arch.h>
#include <common/interrupt_props.h>
#include <common/interrupt_props.h>
#include <common/tbbr/tbbr_img_def.h>
#include <common/tbbr/tbbr_img_def.h>
...
...
include/plat/arm/common/arm_spm_def.h
View file @
9f0f203d
...
@@ -9,8 +9,6 @@
...
@@ -9,8 +9,6 @@
#include <lib/utils_def.h>
#include <lib/utils_def.h>
#include <lib/xlat_tables/xlat_tables_defs.h>
#include <lib/xlat_tables/xlat_tables_defs.h>
#include <arm_def.h>
/*
/*
* Reserve 4 MiB for binaries of Secure Partitions and Resource Description
* Reserve 4 MiB for binaries of Secure Partitions and Resource Description
* blobs.
* blobs.
...
...
include/plat/arm/css/common/css_def.h
View file @
9f0f203d
...
@@ -11,8 +11,6 @@
...
@@ -11,8 +11,6 @@
#include <drivers/arm/gic_common.h>
#include <drivers/arm/gic_common.h>
#include <drivers/arm/tzc400.h>
#include <drivers/arm/tzc400.h>
#include <arm_def.h>
/*************************************************************************
/*************************************************************************
* Definitions common to all ARM Compute SubSystems (CSS)
* Definitions common to all ARM Compute SubSystems (CSS)
*************************************************************************/
*************************************************************************/
...
...
plat/arm/board/common/aarch32/board_arm_helpers.S
View file @
9f0f203d
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#include <asm_macros.S>
#include <asm_macros.S>
#include <common/bl_common.h>
#include <common/bl_common.h>
#include <
v2
m_def.h>
#include <
platfor
m_def.h>
.
globl
plat_report_exception
.
globl
plat_report_exception
...
...
plat/arm/board/common/aarch64/board_arm_helpers.S
View file @
9f0f203d
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#include <asm_macros.S>
#include <asm_macros.S>
#include <common/bl_common.h>
#include <common/bl_common.h>
#include <
v2
m_def.h>
#include <
platfor
m_def.h>
.
globl
plat_report_exception
.
globl
plat_report_exception
...
...
plat/arm/board/common/board_arm_trusted_boot.c
View file @
9f0f203d
...
@@ -11,8 +11,7 @@
...
@@ -11,8 +11,7 @@
#include <lib/cassert.h>
#include <lib/cassert.h>
#include <plat/common/platform.h>
#include <plat/common/platform.h>
#include <tools_share/tbbr_oid.h>
#include <tools_share/tbbr_oid.h>
#include <platform_def.h>
#include <arm_def.h>
/* SHA256 algorithm */
/* SHA256 algorithm */
#define SHA256_BYTES 32
#define SHA256_BYTES 32
...
...
plat/arm/board/fvp/aarch32/fvp_helpers.S
View file @
9f0f203d
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
#include <arch.h>
#include <arch.h>
#include <asm_macros.S>
#include <asm_macros.S>
#include <platform_def.h>
#include <platform_def.h>
#include "../drivers/pwrc/fvp_pwrc.h"
#include "../drivers/pwrc/fvp_pwrc.h"
#include "../fvp_def.h"
.
globl
plat_secondary_cold_boot_setup
.
globl
plat_secondary_cold_boot_setup
.
globl
plat_get_my_entrypoint
.
globl
plat_get_my_entrypoint
...
...
plat/arm/board/fvp/aarch64/fvp_helpers.S
View file @
9f0f203d
...
@@ -9,9 +9,8 @@
...
@@ -9,9 +9,8 @@
#include <drivers/arm/gicv2.h>
#include <drivers/arm/gicv2.h>
#include <drivers/arm/gicv3.h>
#include <drivers/arm/gicv3.h>
#include <platform_def.h>
#include <platform_def.h>
#include <v2m_def.h>
#include "../drivers/pwrc/fvp_pwrc.h"
#include "../drivers/pwrc/fvp_pwrc.h"
#include "../fvp_def.h"
.
globl
plat_secondary_cold_boot_setup
.
globl
plat_secondary_cold_boot_setup
.
globl
plat_get_my_entrypoint
.
globl
plat_get_my_entrypoint
...
...
plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c
View file @
9f0f203d
...
@@ -6,10 +6,9 @@
...
@@ -6,10 +6,9 @@
#include <lib/bakery_lock.h>
#include <lib/bakery_lock.h>
#include <lib/mmio.h>
#include <lib/mmio.h>
#include <platform_def.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include "../../fvp_def.h"
#include "../../fvp_private.h"
#include "../../fvp_private.h"
#include "fvp_pwrc.h"
#include "fvp_pwrc.h"
...
...
plat/arm/board/fvp/fvp_bl2_setup.c
View file @
9f0f203d
...
@@ -8,10 +8,9 @@
...
@@ -8,10 +8,9 @@
#include <drivers/generic_delay_timer.h>
#include <drivers/generic_delay_timer.h>
#include <lib/mmio.h>
#include <lib/mmio.h>
#include <plat/common/platform.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <v2m_def.h>
#include "fvp_def.h"
#include "fvp_private.h"
#include "fvp_private.h"
void
bl2_early_platform_setup2
(
u_register_t
arg0
,
u_register_t
arg1
,
u_register_t
arg2
,
u_register_t
arg3
)
void
bl2_early_platform_setup2
(
u_register_t
arg0
,
u_register_t
arg1
,
u_register_t
arg2
,
u_register_t
arg3
)
...
...
plat/arm/board/fvp/fvp_bl2u_setup.c
View file @
9f0f203d
...
@@ -5,9 +5,9 @@
...
@@ -5,9 +5,9 @@
*/
*/
#include <plat/common/platform.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include "fvp_def.h"
#include "fvp_private.h"
#include "fvp_private.h"
void
bl2u_early_platform_setup
(
struct
meminfo
*
mem_layout
,
void
*
plat_info
)
void
bl2u_early_platform_setup
(
struct
meminfo
*
mem_layout
,
void
*
plat_info
)
...
...
plat/arm/board/fvp/fvp_common.c
View file @
9f0f203d
...
@@ -13,15 +13,12 @@
...
@@ -13,15 +13,12 @@
#include <lib/mmio.h>
#include <lib/mmio.h>
#include <lib/xlat_tables/xlat_tables_compat.h>
#include <lib/xlat_tables/xlat_tables_compat.h>
#include <plat/common/platform.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <services/secure_partition.h>
#include <services/secure_partition.h>
#include <arm_config.h>
#include <arm_config.h>
#include <arm_def.h>
#include <arm_spm_def.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <v2m_def.h>
#include "../fvp_def.h"
#include "fvp_private.h"
#include "fvp_private.h"
/* Defines for GIC Driver build time selection */
/* Defines for GIC Driver build time selection */
...
...
plat/arm/board/fvp/fvp_pm.c
View file @
9f0f203d
...
@@ -14,14 +14,13 @@
...
@@ -14,14 +14,13 @@
#include <lib/mmio.h>
#include <lib/mmio.h>
#include <lib/psci/psci.h>
#include <lib/psci/psci.h>
#include <plat/common/platform.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <arm_config.h>
#include <arm_config.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <v2m_def.h>
#include "../../../../drivers/arm/gic/v3/gicv3_private.h"
#include "../../../../drivers/arm/gic/v3/gicv3_private.h"
#include "drivers/pwrc/fvp_pwrc.h"
#include "drivers/pwrc/fvp_pwrc.h"
#include "fvp_def.h"
#include "fvp_private.h"
#include "fvp_private.h"
...
...
plat/arm/board/fvp/fvp_trusted_boot.c
View file @
9f0f203d
...
@@ -9,10 +9,9 @@
...
@@ -9,10 +9,9 @@
#include <string.h>
#include <string.h>
#include <plat/common/platform.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <tools_share/tbbr_oid.h>
#include <tools_share/tbbr_oid.h>
#include "fvp_def.h"
/*
/*
* Store a new non-volatile counter value. On some FVP versions, the
* Store a new non-volatile counter value. On some FVP versions, the
* non-volatile counters are RO. On these versions we expect the values in the
* non-volatile counters are RO. On these versions we expect the values in the
...
...
plat/arm/board/fvp/include/plat_macros.S
View file @
9f0f203d
...
@@ -7,8 +7,7 @@
...
@@ -7,8 +7,7 @@
#define PLAT_MACROS_S
#define PLAT_MACROS_S
#include <arm_macros.S>
#include <arm_macros.S>
#include <v2m_def.h>
#include <platform_def.h>
#include "../fvp_def.h"
/
*
---------------------------------------------
/
*
---------------------------------------------
*
The
below
required
platform
porting
macro
*
The
below
required
platform
porting
macro
...
...
plat/arm/board/juno/aarch32/juno_helpers.S
View file @
9f0f203d
...
@@ -11,9 +11,7 @@
...
@@ -11,9 +11,7 @@
#include <cortex_a57.h>
#include <cortex_a57.h>
#include <cortex_a72.h>
#include <cortex_a72.h>
#include <cpu_macros.S>
#include <cpu_macros.S>
#include <v2m_def.h>
#include <platform_def.h>
#include "../juno_def.h"
.
globl
plat_reset_handler
.
globl
plat_reset_handler
.
globl
plat_arm_calc_core_pos
.
globl
plat_arm_calc_core_pos
...
...
plat/arm/board/juno/aarch64/juno_helpers.S
View file @
9f0f203d
...
@@ -11,10 +11,7 @@
...
@@ -11,10 +11,7 @@
#include <cortex_a57.h>
#include <cortex_a57.h>
#include <cortex_a72.h>
#include <cortex_a72.h>
#include <cpu_macros.S>
#include <cpu_macros.S>
#include <css_def.h>
#include <platform_def.h>
#include <v2m_def.h>
#include "../juno_def.h"
.
globl
plat_reset_handler
.
globl
plat_reset_handler
.
globl
plat_arm_calc_core_pos
.
globl
plat_arm_calc_core_pos
...
...
plat/arm/board/juno/juno_bl1_setup.c
View file @
9f0f203d
...
@@ -11,10 +11,10 @@
...
@@ -11,10 +11,10 @@
#include <common/tbbr/tbbr_img_def.h>
#include <common/tbbr/tbbr_img_def.h>
#include <drivers/arm/sp805.h>
#include <drivers/arm/sp805.h>
#include <plat/common/platform.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <sds.h>
#include <sds.h>
#include <v2m_def.h>
void
juno_reset_to_aarch32_state
(
void
);
void
juno_reset_to_aarch32_state
(
void
);
...
...
plat/arm/board/juno/juno_common.c
View file @
9f0f203d
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
#include <arm_def.h>
#include <platform_def.h>
#include <plat_arm.h>
#include <plat_arm.h>
/*
/*
...
...
plat/arm/board/juno/juno_err.c
View file @
9f0f203d
...
@@ -8,8 +8,7 @@
...
@@ -8,8 +8,7 @@
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <plat/common/platform.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <v2m_def.h>
/*
/*
* Juno error handler
* Juno error handler
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment