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
83a2285e
Unverified
Commit
83a2285e
authored
Jan 28, 2019
by
Antonio Niño Díaz
Committed by
GitHub
Jan 28, 2019
Browse files
Merge pull request #1784 from antonio-nino-diaz-arm/an/includes-arm
plat/arm: Cleanup of includes and drivers
parents
bc153881
560293bb
Changes
118
Show whitespace changes
Inline
Side-by-side
plat/arm/css
/drivers/
scpi
/css_scpi.h
→
include
/drivers/
arm/css
/css_scpi.h
View file @
83a2285e
File moved
plat/arm/css
/drivers/
scmi
/scmi.h
→
include
/drivers/
arm/css
/scmi.h
View file @
83a2285e
File moved
plat/arm/css
/drivers/s
d
s/sds.h
→
include
/drivers/
arm/c
ss/sds.h
View file @
83a2285e
File moved
plat/arm/board/fvp
/drivers/
pwrc
/fvp_pwrc.h
→
include
/drivers/
arm/fvp
/fvp_pwrc.h
View file @
83a2285e
...
...
@@ -37,6 +37,8 @@
#ifndef __ASSEMBLY__
#include <stdint.h>
/*******************************************************************************
* Function & variable prototypes
******************************************************************************/
...
...
include/plat/arm/board/common/board_css_def.h
View file @
83a2285e
...
...
@@ -8,11 +8,10 @@
#define BOARD_CSS_DEF_H
#include <lib/utils_def.h>
#include <plat/arm/board/common/v2m_def.h>
#include <plat/arm/soc/common/soc_css_def.h>
#include <plat/common/common_def.h>
#include <soc_css_def.h>
#include <v2m_def.h>
/*
* Definitions common to all ARM CSS-based development platforms
*/
...
...
include/plat/arm/board/common/v2m_def.h
View file @
83a2285e
...
...
@@ -6,7 +6,7 @@
#ifndef V2M_DEF_H
#define V2M_DEF_H
#include <lib/
xlat_tables/xlat_tables_compat
.h>
#include <lib/
utils_def
.h>
/* V2M motherboard system registers & offsets */
#define V2M_SYSREGS_BASE UL(0x1c010000)
...
...
lib/utils/mem_region.c
View file @
83a2285e
...
...
@@ -6,7 +6,9 @@
#include <assert.h>
#include <common/debug.h>
#include <lib/utils.h>
#include <lib/xlat_tables/xlat_tables_compat.h>
/*
* All the regions defined in mem_region_t must have the following properties
...
...
plat/arm/board/common/board_common.mk
View file @
83a2285e
...
...
@@ -4,8 +4,6 @@
# SPDX-License-Identifier: BSD-3-Clause
#
PLAT_INCLUDES
+=
-Iinclude
/plat/arm/board/common/
PLAT_BL_COMMON_SOURCES
+=
drivers/arm/pl011/
${ARCH}
/pl011_console.S
\
plat/arm/board/common/
${ARCH}
/board_arm_helpers.S
...
...
plat/arm/board/fvp/aarch32/fvp_helpers.S
View file @
83a2285e
...
...
@@ -6,10 +6,9 @@
#include <arch.h>
#include <asm_macros.S>
#include <drivers/arm/fvp/fvp_pwrc.h>
#include <platform_def.h>
#include "../drivers/pwrc/fvp_pwrc.h"
.
globl
plat_secondary_cold_boot_setup
.
globl
plat_get_my_entrypoint
.
globl
plat_is_my_cpu_primary
...
...
plat/arm/board/fvp/aarch64/fvp_helpers.S
View file @
83a2285e
...
...
@@ -8,10 +8,9 @@
#include <asm_macros.S>
#include <drivers/arm/gicv2.h>
#include <drivers/arm/gicv3.h>
#include <drivers/arm/fvp/fvp_pwrc.h>
#include <platform_def.h>
#include "../drivers/pwrc/fvp_pwrc.h"
.
globl
plat_secondary_cold_boot_setup
.
globl
plat_get_my_entrypoint
.
globl
plat_is_my_cpu_primary
...
...
plat/arm/board/fvp/fvp_bl1_setup.c
View file @
83a2285e
...
...
@@ -5,10 +5,9 @@
*/
#include <common/tbbr/tbbr_img_def.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <plat_arm.h>
#include "fvp_private.h"
/*******************************************************************************
...
...
plat/arm/board/fvp/fvp_bl2_el3_setup.c
View file @
83a2285e
...
...
@@ -4,7 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <plat_arm.h>
#include <plat/arm/common/plat_arm.h>
#include "fvp_private.h"
void
bl2_el3_early_platform_setup
(
u_register_t
arg0
__unused
,
...
...
plat/arm/board/fvp/fvp_bl2_setup.c
View file @
83a2285e
...
...
@@ -7,10 +7,10 @@
#include <drivers/arm/sp804_delay_timer.h>
#include <drivers/generic_delay_timer.h>
#include <lib/mmio.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <plat_arm.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
)
...
...
plat/arm/board/fvp/fvp_bl2u_setup.c
View file @
83a2285e
...
...
@@ -4,10 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <plat_arm.h>
#include "fvp_private.h"
void
bl2u_early_platform_setup
(
struct
meminfo
*
mem_layout
,
void
*
plat_info
)
...
...
plat/arm/board/fvp/fvp_bl31_setup.c
View file @
83a2285e
...
...
@@ -5,10 +5,10 @@
*/
#include <drivers/arm/smmu_v3.h>
#include <plat/arm/common/arm_config.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <arm_config.h>
#include <plat_arm.h>
#include "fvp_private.h"
void
__init
bl31_early_platform_setup2
(
u_register_t
arg0
,
...
...
plat/arm/board/fvp/fvp_common.c
View file @
83a2285e
...
...
@@ -12,13 +12,12 @@
#include <drivers/arm/gicv2.h>
#include <lib/mmio.h>
#include <lib/xlat_tables/xlat_tables_compat.h>
#include <plat/arm/common/arm_config.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <services/secure_partition.h>
#include <arm_config.h>
#include <plat_arm.h>
#include "fvp_private.h"
/* Defines for GIC Driver build time selection */
...
...
plat/arm/board/fvp/fvp_io_storage.c
View file @
83a2285e
...
...
@@ -11,10 +11,9 @@
#include <drivers/io/io_semihosting.h>
#include <drivers/io/io_storage.h>
#include <lib/semihosting.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/common_def.h>
#include <plat_arm.h>
/* Semihosting filenames */
#define BL2_IMAGE_NAME "bl2.bin"
#define BL31_IMAGE_NAME "bl31.bin"
...
...
plat/arm/board/fvp/fvp_pm.c
View file @
83a2285e
...
...
@@ -10,17 +10,15 @@
#include <arch_helpers.h>
#include <common/debug.h>
#include <drivers/arm/gicv3.h>
#include <drivers/arm/fvp/fvp_pwrc.h>
#include <lib/extensions/spe.h>
#include <lib/mmio.h>
#include <lib/psci/psci.h>
#include <plat/arm/common/arm_config.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <arm_config.h>
#include <plat_arm.h>
#include "../../../../drivers/arm/gic/v3/gicv3_private.h"
#include "drivers/pwrc/fvp_pwrc.h"
#include "fvp_private.h"
...
...
plat/arm/board/fvp/fvp_private.h
View file @
83a2285e
...
...
@@ -7,7 +7,7 @@
#ifndef FVP_PRIVATE_H
#define FVP_PRIVATE_H
#include <plat_arm.h>
#include <plat
/arm/common/plat
_arm.h>
/*******************************************************************************
* Function and variable prototypes
...
...
plat/arm/board/fvp/fvp_security.c
View file @
83a2285e
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <arm_config.h>
#include <plat_arm.h>
#include <
plat/arm/common/
arm_config.h>
#include <plat
/arm/common/plat
_arm.h>
/*
* We assume that all security programming is done by the primary core.
...
...
Prev
1
2
3
4
5
6
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