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/sgm/include/platform_oid.h
View file @
83a2285e
...
...
@@ -3,7 +3,8 @@
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "../../../../../include/plat/arm/board/common/board_arm_oid.h"
#include <plat/arm/board/common/board_arm_oid.h>
/*
* Required platform OIDs
...
...
plat/arm/css/sgm/include/sgm_base_platform_def.h
View file @
83a2285e
...
...
@@ -9,14 +9,13 @@
#include <drivers/arm/tzc400.h>
#include <drivers/arm/tzc_common.h>
#include <plat/arm/board/common/board_css_def.h>
#include <plat/arm/board/common/v2m_def.h>
#include <plat/arm/common/arm_def.h>
#include <plat/arm/css/common/css_def.h>
#include <plat/arm/soc/common/soc_css_def.h>
#include <plat/common/common_def.h>
#include <arm_def.h>
#include <board_css_def.h>
#include <css_def.h>
#include <soc_css_def.h>
#include <v2m_def.h>
/* CPU topology */
#define PLAT_ARM_CLUSTER_COUNT 1
#define PLAT_ARM_CLUSTER_CORE_COUNT 8
...
...
plat/arm/css/sgm/sgm_bl1_setup.c
View file @
83a2285e
...
...
@@ -6,10 +6,10 @@
#include <common/bl_common.h>
#include <common/debug.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/arm/soc/common/soc_css.h>
#include <plat_arm.h>
#include <sgm_plat_config.h>
#include <soc_css.h>
void
bl1_early_platform_setup
(
void
)
{
...
...
plat/arm/css/sgm/sgm_bl31_setup.c
View file @
83a2285e
...
...
@@ -6,13 +6,12 @@
#include <common/bl_common.h>
#include <common/debug.h>
#include <drivers/arm/css/css_mhu_doorbell.h>
#include <drivers/arm/css/scmi.h>
#include <plat/arm/common/plat_arm.h>
#include <plat_arm.h>
#include <sgm_plat_config.h>
#include "../../css/drivers/scmi/scmi.h"
#include "../../css/drivers/mhu/css_mhu_doorbell.h"
static
scmi_channel_plat_info_t
sgm775_scmi_plat_info
=
{
.
scmi_mbx_mem
=
CSS_SCMI_PAYLOAD_BASE
,
.
db_reg_addr
=
PLAT_CSS_MHU_BASE
+
CSS_SCMI_MHU_DB_REG_OFF
,
...
...
plat/arm/css/sgm/sgm_mmap_config.c
View file @
83a2285e
...
...
@@ -8,8 +8,8 @@
#include <common/bl_common.h>
#include <common/debug.h>
#include <plat/arm/common/plat_arm.h>
#include <plat_arm.h>
#include <sgm_variant.h>
/*
...
...
plat/arm/css/sgm/sgm_plat_config.c
View file @
83a2285e
...
...
@@ -10,8 +10,8 @@
#include <platform_def.h>
#include <common/debug.h>
#include <plat/arm/common/plat_arm.h>
#include <plat_arm.h>
#include <sgm_plat_config.h>
#include <sgm_variant.h>
...
...
plat/arm/css/sgm/sgm_security.c
View file @
83a2285e
...
...
@@ -6,10 +6,10 @@
#include <common/debug.h>
#include <drivers/arm/tzc_dmc500.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/arm/soc/common/soc_css.h>
#include <plat_arm.h>
#include <sgm_variant.h>
#include <soc_css.h>
/* Is populated with the DMC-500 controllers base addresses */
static
tzc_dmc500_driver_data_t
plat_driver_data
;
...
...
plat/arm/css/sgm/sgm_topology.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 <sgm_plat_config.h>
/*******************************************************************************
...
...
plat/arm/css/sgm/tsp/sgm_tsp_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 <sgm_plat_config.h>
void
tsp_early_platform_setup
(
void
)
...
...
plat/arm/soc/common/soc_css.mk
View file @
83a2285e
...
...
@@ -4,8 +4,6 @@
# SPDX-License-Identifier: BSD-3-Clause
#
PLAT_INCLUDES
+=
-Iinclude
/plat/arm/soc/common/
#PLAT_BL_COMMON_SOURCES +=
BL1_SOURCES
+=
plat/arm/soc/common/soc_css_security.c
...
...
plat/arm/soc/common/soc_css_security.c
View file @
83a2285e
...
...
@@ -8,8 +8,7 @@
#include <drivers/arm/nic_400.h>
#include <lib/mmio.h>
#include <soc_css.h>
#include <plat/arm/soc/common/soc_css.h>
void
soc_css_init_nic400
(
void
)
{
...
...
plat/mediatek/mt8173/bl31_plat_setup.c
View file @
83a2285e
...
...
@@ -11,13 +11,13 @@
#include <drivers/console.h>
#include <drivers/generic_delay_timer.h>
#include <lib/mmio.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/common_def.h>
#include <plat/common/platform.h>
#include <mcucfg.h>
#include <mtcmos.h>
#include <mtk_plat_common.h>
#include <plat_arm.h>
#include <plat_private.h>
#include <spm.h>
...
...
plat/mediatek/mt8173/plat_pm.c
View file @
83a2285e
...
...
@@ -15,11 +15,11 @@
#include <lib/bakery_lock.h>
#include <lib/mmio.h>
#include <lib/psci/psci.h>
#include <plat/arm/common/plat_arm.h>
#include <mcucfg.h>
#include <mt8173_def.h>
#include <mt_cpuxgpt.h>
/* generic_timer_backup() */
#include <plat_arm.h>
#include <plat_private.h>
#include <power_tracer.h>
#include <rtc.h>
...
...
plat/mediatek/mt8173/platform.mk
View file @
83a2285e
...
...
@@ -9,7 +9,6 @@ MTK_PLAT_SOC := ${MTK_PLAT}/${PLAT}
PLAT_INCLUDES
:=
-I
${MTK_PLAT}
/common/
\
-I
${MTK_PLAT}
/common/drivers/uart/
\
-Iinclude
/plat/arm/common
\
-Iinclude
/plat/arm/common/aarch64
\
-I
${MTK_PLAT_SOC}
/drivers/crypt/
\
-I
${MTK_PLAT_SOC}
/drivers/mtcmos/
\
...
...
plat/xilinx/zynqmp/bl31_zynqmp_setup.c
View file @
83a2285e
...
...
@@ -11,10 +11,11 @@
#include <common/bl_common.h>
#include <common/debug.h>
#include <drivers/console.h>
#include <plat_arm.h>
#include <plat_private.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <plat_private.h>
#define BL31_END (unsigned long)(&__BL31_END__)
static
entry_point_info_t
bl32_image_ep_info
;
...
...
plat/xilinx/zynqmp/plat_psci.c
View file @
83a2285e
...
...
@@ -12,10 +12,10 @@
#include <drivers/arm/gicv2.h>
#include <lib/mmio.h>
#include <lib/psci/psci.h>
#include <plat
_private
.h>
#include <plat
/arm/common/plat_arm
.h>
#include <plat/common/platform.h>
#include <plat_
arm
.h>
#include <plat_
private
.h>
#include "pm_api_sys.h"
#include "pm_client.h"
...
...
plat/xilinx/zynqmp/platform.mk
View file @
83a2285e
...
...
@@ -45,8 +45,7 @@ ifdef ZYNQMP_WDT_RESTART
$(eval
$(call
add_define,ZYNQMP_WDT_RESTART))
endif
PLAT_INCLUDES
:=
-Iinclude
/plat/arm/common/
\
-Iinclude
/plat/arm/common/aarch64/
\
PLAT_INCLUDES
:=
-Iinclude
/plat/arm/common/aarch64/
\
-Iplat
/xilinx/common/include/
\
-Iplat
/xilinx/zynqmp/include/
\
-Iplat
/xilinx/zynqmp/pm_service/
\
...
...
plat/xilinx/zynqmp/tsp/tsp_plat_setup.c
View file @
83a2285e
...
...
@@ -7,8 +7,8 @@
#include <common/bl_common.h>
#include <common/debug.h>
#include <drivers/console.h>
#include <plat/arm/common/plat_arm.h>
#include <plat_arm.h>
#include <plat_private.h>
#include <platform_tsp.h>
...
...
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