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
4e13f1af
Commit
4e13f1af
authored
May 29, 2014
by
Sandrine Bailleux
Browse files
juno: Rework header file inclusion
Change-Id: I0837d787837a40a724a8b7f2e3abd82287f403f3
parent
57a5b5c3
Changes
15
Hide whitespace changes
Inline
Side-by-side
bl31/aarch64/crash_reporting.S
View file @
4e13f1af
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <asm_macros.S>
#include <asm_macros.S>
#include <context.h>
#include <context.h>
#include <plat_macros.S>
#include <plat_macros.S>
#include <platform_def.h>
.
globl
get_crash_stack
.
globl
get_crash_stack
.
globl
dump_state_and_die
.
globl
dump_state_and_die
...
...
plat/juno/aarch64/bl1_plat_helpers.S
View file @
4e13f1af
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include <arch.h>
#include <arch.h>
#include <asm_macros.S>
#include <asm_macros.S>
#include
<platform
.h
>
#include
"../juno_def
.h
"
.
globl
platform_get_entrypoint
.
globl
platform_get_entrypoint
.
globl
platform_cold_boot_init
.
globl
platform_cold_boot_init
...
...
plat/juno/aarch64/plat_common.c
View file @
4e13f1af
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include <bl_common.h>
#include <bl_common.h>
#include <mmio.h>
#include <mmio.h>
#include <platform.h>
#include <platform.h>
#include <platform_def.h>
#include <xlat_tables.h>
#include <xlat_tables.h>
...
...
plat/juno/aarch64/plat_helpers.S
View file @
4e13f1af
...
@@ -31,7 +31,8 @@
...
@@ -31,7 +31,8 @@
#include <arch.h>
#include <arch.h>
#include <asm_macros.S>
#include <asm_macros.S>
#include <bl_common.h>
#include <bl_common.h>
#include <platform.h>
#include <platform_def.h>
#include "../juno_def.h"
.
globl
plat_report_exception
.
globl
plat_report_exception
.
globl
platform_mem_init
.
globl
platform_mem_init
...
...
plat/juno/bl1_plat_setup.c
View file @
4e13f1af
...
@@ -31,12 +31,14 @@
...
@@ -31,12 +31,14 @@
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <assert.h>
#include <bl_common.h>
#include <bl_common.h>
#include <bl1.h>
#include <cci400.h>
#include <cci400.h>
#include <console.h>
#include <console.h>
#include <mmio.h>
#include <mmio.h>
#include <platform.h>
#include <platform.h>
#include <platform_def.h>
#include <tzc400.h>
#include <tzc400.h>
#include "juno_def.h"
#include "juno_private.h"
/*******************************************************************************
/*******************************************************************************
* Declarations of linker defined symbols which will help us find the layout
* Declarations of linker defined symbols which will help us find the layout
...
...
plat/juno/bl2_plat_setup.c
View file @
4e13f1af
...
@@ -31,12 +31,14 @@
...
@@ -31,12 +31,14 @@
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <assert.h>
#include <bl_common.h>
#include <bl_common.h>
#include <bl2.h>
#include <console.h>
#include <console.h>
#include <debug.h>
#include <debug.h>
#include <platform.h>
#include <platform.h>
#include <
scp_bootloa
de
r
.h>
#include <
platform_
de
f
.h>
#include <string.h>
#include <string.h>
#include "juno_def.h"
#include "juno_private.h"
#include "scp_bootloader.h"
/*******************************************************************************
/*******************************************************************************
* Declarations of linker defined symbols which will help us find the layout
* Declarations of linker defined symbols which will help us find the layout
...
...
plat/juno/bl31_plat_setup.c
View file @
4e13f1af
...
@@ -33,10 +33,12 @@
...
@@ -33,10 +33,12 @@
#include <bl31.h>
#include <bl31.h>
#include <bl_common.h>
#include <bl_common.h>
#include <console.h>
#include <console.h>
#include <mhu.h>
#include <mmio.h>
#include <mmio.h>
#include <platform.h>
#include <platform.h>
#include <stddef.h>
#include <stddef.h>
#include "juno_def.h"
#include "juno_private.h"
#include "mhu.h"
/*******************************************************************************
/*******************************************************************************
* Declarations of linker defined symbols which will help us find the layout
* Declarations of linker defined symbols which will help us find the layout
...
...
plat/juno/bl32_plat_setup.c
View file @
4e13f1af
...
@@ -28,11 +28,11 @@
...
@@ -28,11 +28,11 @@
* POSSIBILITY OF SUCH DAMAGE.
* POSSIBILITY OF SUCH DAMAGE.
*/
*/
#include <arch_helpers.h>
#include <bl_common.h>
#include <bl_common.h>
#include <bl32.h>
#include <console.h>
#include <console.h>
#include <platform.h>
#include <platform.h>
#include "juno_def.h"
#include "juno_private.h"
/*******************************************************************************
/*******************************************************************************
* Declarations of linker defined symbols which will help us find the layout
* Declarations of linker defined symbols which will help us find the layout
...
...
plat/juno/mhu.c
View file @
4e13f1af
...
@@ -30,8 +30,9 @@
...
@@ -30,8 +30,9 @@
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <bakery_lock.h>
#include <bakery_lock.h>
#include <mhu.h>
#include <mmio.h>
#include <mmio.h>
#include "juno_def.h"
#include "mhu.h"
/* SCP MHU secure channel registers */
/* SCP MHU secure channel registers */
#define SCP_INTR_S_STAT 0x200
#define SCP_INTR_S_STAT 0x200
...
...
plat/juno/plat_gic.c
View file @
4e13f1af
...
@@ -34,6 +34,8 @@
...
@@ -34,6 +34,8 @@
#include <gic_v2.h>
#include <gic_v2.h>
#include <interrupt_mgmt.h>
#include <interrupt_mgmt.h>
#include <platform.h>
#include <platform.h>
#include "juno_def.h"
#include "juno_private.h"
/* Value used to initialise Non-Secure irq priorities four at a time */
/* Value used to initialise Non-Secure irq priorities four at a time */
...
...
plat/juno/plat_io_storage.c
View file @
4e13f1af
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#include <io_fip.h>
#include <io_fip.h>
#include <io_memmap.h>
#include <io_memmap.h>
#include <debug.h>
#include <debug.h>
#include "juno_def.h"
/* IO devices */
/* IO devices */
static
io_plat_data_t
io_data
;
static
io_plat_data_t
io_data
;
...
...
plat/juno/plat_pm.c
View file @
4e13f1af
...
@@ -31,8 +31,11 @@
...
@@ -31,8 +31,11 @@
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <cci400.h>
#include <cci400.h>
#include <platform.h>
#include <platform.h>
#include <platform_def.h>
#include <psci.h>
#include <psci.h>
#include <scpi.h>
#include "juno_def.h"
#include "juno_private.h"
#include "scpi.h"
int
pm_on
(
unsigned
long
mpidr
,
int
pm_on
(
unsigned
long
mpidr
,
unsigned
long
sec_entrypoint
,
unsigned
long
sec_entrypoint
,
...
...
plat/juno/plat_topology.c
View file @
4e13f1af
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
* POSSIBILITY OF SUCH DAMAGE.
* POSSIBILITY OF SUCH DAMAGE.
*/
*/
#include <platform.h>
#include <platform
_def
.h>
#include <psci.h>
#include <psci.h>
unsigned
int
plat_get_aff_count
(
unsigned
int
aff_lvl
,
unsigned
long
mpidr
)
unsigned
int
plat_get_aff_count
(
unsigned
int
aff_lvl
,
unsigned
long
mpidr
)
...
...
plat/juno/scp_bootloader.c
View file @
4e13f1af
...
@@ -29,10 +29,11 @@
...
@@ -29,10 +29,11 @@
*/
*/
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <mhu.h>
#include <platform.h>
#include <platform.h>
#include <scp_bootloader.h>
#include "juno_def.h"
#include <scpi.h>
#include "mhu.h"
#include "scp_bootloader.h"
#include "scpi.h"
/* Boot commands sent from AP -> SCP */
/* Boot commands sent from AP -> SCP */
#define BOOT_CMD_START 0x01
#define BOOT_CMD_START 0x01
...
...
plat/juno/scpi.c
View file @
4e13f1af
...
@@ -29,9 +29,10 @@
...
@@ -29,9 +29,10 @@
*/
*/
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <mhu.h>
#include <platform.h>
#include <platform.h>
#include <scpi.h>
#include "juno_def.h"
#include "mhu.h"
#include "scpi.h"
#define MHU_SECURE_SCP_TO_AP_PAYLOAD (MHU_SECURE_BASE+0x0080)
#define MHU_SECURE_SCP_TO_AP_PAYLOAD (MHU_SECURE_BASE+0x0080)
#define MHU_SECURE_AP_TO_SCP_PAYLOAD (MHU_SECURE_BASE+0x0280)
#define MHU_SECURE_AP_TO_SCP_PAYLOAD (MHU_SECURE_BASE+0x0280)
...
...
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