juno: Rework header file inclusion
Change-Id: I0837d787837a40a724a8b7f2e3abd82287f403f3
This commit is contained in:
parent
57a5b5c30f
commit
4e13f1af9e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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_bootloader.h>
|
#include <platform_def.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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue