Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1784 from antonio-nino-diaz-arm/an/includes-arm
plat/arm: Cleanup of includes and drivers
parents
bc153881
560293bb
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
118
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
plat/arm/css/sgm/include/platform_oid.h
+2
-1
plat/arm/css/sgm/include/platform_oid.h
plat/arm/css/sgm/include/sgm_base_platform_def.h
+5
-6
plat/arm/css/sgm/include/sgm_base_platform_def.h
plat/arm/css/sgm/sgm_bl1_setup.c
+2
-2
plat/arm/css/sgm/sgm_bl1_setup.c
plat/arm/css/sgm/sgm_bl31_setup.c
+3
-4
plat/arm/css/sgm/sgm_bl31_setup.c
plat/arm/css/sgm/sgm_mmap_config.c
+1
-1
plat/arm/css/sgm/sgm_mmap_config.c
plat/arm/css/sgm/sgm_plat_config.c
+1
-1
plat/arm/css/sgm/sgm_plat_config.c
plat/arm/css/sgm/sgm_security.c
+2
-2
plat/arm/css/sgm/sgm_security.c
plat/arm/css/sgm/sgm_topology.c
+2
-1
plat/arm/css/sgm/sgm_topology.c
plat/arm/css/sgm/tsp/sgm_tsp_setup.c
+2
-1
plat/arm/css/sgm/tsp/sgm_tsp_setup.c
plat/arm/soc/common/soc_css.mk
+0
-2
plat/arm/soc/common/soc_css.mk
plat/arm/soc/common/soc_css_security.c
+1
-2
plat/arm/soc/common/soc_css_security.c
plat/mediatek/mt8173/bl31_plat_setup.c
+1
-1
plat/mediatek/mt8173/bl31_plat_setup.c
plat/mediatek/mt8173/plat_pm.c
+1
-1
plat/mediatek/mt8173/plat_pm.c
plat/mediatek/mt8173/platform.mk
+0
-1
plat/mediatek/mt8173/platform.mk
plat/xilinx/zynqmp/bl31_zynqmp_setup.c
+3
-2
plat/xilinx/zynqmp/bl31_zynqmp_setup.c
plat/xilinx/zynqmp/plat_psci.c
+2
-2
plat/xilinx/zynqmp/plat_psci.c
plat/xilinx/zynqmp/platform.mk
+1
-2
plat/xilinx/zynqmp/platform.mk
plat/xilinx/zynqmp/tsp/tsp_plat_setup.c
+1
-1
plat/xilinx/zynqmp/tsp/tsp_plat_setup.c
with
30 additions
and
33 deletions
+30
-33
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
)
{
...
...
This diff is collapsed.
Click to expand it.
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
,
...
...
This diff is collapsed.
Click to expand it.
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>
/*
...
...
This diff is collapsed.
Click to expand it.
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>
...
...
This diff is collapsed.
Click to expand it.
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
;
...
...
This diff is collapsed.
Click to expand it.
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>
/*******************************************************************************
...
...
This diff is collapsed.
Click to expand it.
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
)
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
)
{
...
...
This diff is collapsed.
Click to expand it.
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>
...
...
This diff is collapsed.
Click to expand it.
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>
...
...
This diff is collapsed.
Click to expand it.
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/
\
...
...
This diff is collapsed.
Click to expand it.
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
;
...
...
This diff is collapsed.
Click to expand it.
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"
...
...
This diff is collapsed.
Click to expand it.
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/
\
...
...
This diff is collapsed.
Click to expand it.
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>
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help