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
aa965e15
Commit
aa965e15
authored
Jul 20, 2017
by
davidcunado-arm
Committed by
GitHub
Jul 20, 2017
Browse files
Merge pull request #1029 from islmit01/im/fix_includes
Fix order of includes
parents
4deb7bcc
ee1ebbd1
Changes
93
Hide whitespace changes
Inline
Side-by-side
plat/arm/common/arm_bl1_setup.c
View file @
aa965e15
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
#include <arm_xlat_tables.h>
#include <arm_xlat_tables.h>
#include <bl_common.h>
#include <bl_common.h>
#include <console.h>
#include <console.h>
#include <platform_def.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <platform_def.h>
#include <sp805.h>
#include <sp805.h>
#include <utils.h>
#include <utils.h>
#include "../../../bl1/bl1_private.h"
#include "../../../bl1/bl1_private.h"
...
...
plat/arm/common/arm_bl2_setup.c
View file @
aa965e15
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
#include <debug.h>
#include <debug.h>
#include <desc_image_load.h>
#include <desc_image_load.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <platform_def.h>
#include <platform.h>
#include <platform.h>
#include <platform_def.h>
#include <string.h>
#include <string.h>
#include <utils.h>
#include <utils.h>
...
...
plat/arm/common/arm_bl2u_setup.c
View file @
aa965e15
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
#include <arm_def.h>
#include <arm_def.h>
#include <bl_common.h>
#include <bl_common.h>
#include <console.h>
#include <console.h>
#include <platform_def.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <platform_def.h>
#include <string.h>
#include <string.h>
/* Weak definitions may be overridden in specific ARM standard platform */
/* Weak definitions may be overridden in specific ARM standard platform */
...
...
plat/arm/common/tsp/arm_tsp_setup.c
View file @
aa965e15
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
#include <arm_def.h>
#include <arm_def.h>
#include <bl_common.h>
#include <bl_common.h>
#include <console.h>
#include <console.h>
#include <plat_arm.h>
#include <platform_def.h>
#include <platform_def.h>
#include <platform_tsp.h>
#include <platform_tsp.h>
#include <plat_arm.h>
#define BL32_END (unsigned long)(&__BL32_END__)
#define BL32_END (unsigned long)(&__BL32_END__)
...
...
plat/hisilicon/hikey/hisi_pwrc.c
View file @
aa965e15
...
@@ -6,11 +6,13 @@
...
@@ -6,11 +6,13 @@
#include <debug.h>
#include <debug.h>
#include <mmio.h>
#include <mmio.h>
#include <hi6220_regs_acpu.h>
#include <hi6220_regs_ao.h>
#include <hisi_ipc.h>
#include <hisi_ipc.h>
#include <hisi_pwrc.h>
#include <hisi_pwrc.h>
#include <hisi_sram_map.h>
#include <hisi_sram_map.h>
#include <hi6220_regs_acpu.h>
#include <hi6220_regs_ao.h>
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
...
...
plat/hisilicon/hikey/hisi_sip_svc.c
View file @
aa965e15
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
#include <hisi_sip_svc.h>
#include <debug.h>
#include <debug.h>
#include <hisi_sip_svc.h>
#include <pmf.h>
#include <pmf.h>
#include <runtime_svc.h>
#include <runtime_svc.h>
#include <stdint.h>
#include <stdint.h>
...
...
plat/hisilicon/hikey960/drivers/ipc/hisi_ipc.c
View file @
aa965e15
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <assert.h>
#include <debug.h>
#include <hi3660.h>
#include <hi3660.h>
#include <hisi_ipc.h>
#include <mmio.h>
#include <mmio.h>
#include <platform.h>
#include <platform.h>
#include <platform_def.h>
#include <platform_def.h>
#include <hisi_ipc.h>
#include <debug.h>
#include "../../hikey960_private.h"
#include "../../hikey960_private.h"
...
...
plat/hisilicon/hikey960/drivers/pwrc/hisi_pwrc.c
View file @
aa965e15
...
@@ -4,13 +4,15 @@
...
@@ -4,13 +4,15 @@
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
#include <../hikey960_def.h>
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <assert.h>
#include <hisi_ipc.h>
#include <mmio.h>
#include <mmio.h>
#include <platform.h>
#include <platform.h>
#include <platform_def.h>
#include <platform_def.h>
#include <../hikey960_def.h>
#include <hisi_ipc.h>
#include "hisi_pwrc.h"
#include "hisi_pwrc.h"
...
...
plat/hisilicon/hikey960/hikey960_bl1_setup.c
View file @
aa965e15
...
@@ -13,10 +13,10 @@
...
@@ -13,10 +13,10 @@
#include <delay_timer.h>
#include <delay_timer.h>
#include <dw_ufs.h>
#include <dw_ufs.h>
#include <errno.h>
#include <errno.h>
#include <generic_delay_timer.h>
#include <gicv2.h>
#include <gicv2.h>
#include <hi3660.h>
#include <hi3660.h>
#include <mmio.h>
#include <mmio.h>
#include <generic_delay_timer.h>
#include <platform.h>
#include <platform.h>
#include <platform_def.h>
#include <platform_def.h>
#include <string.h>
#include <string.h>
...
...
plat/hisilicon/hikey960/include/plat_macros.S
View file @
aa965e15
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
#define __PLAT_MACROS_S__
#define __PLAT_MACROS_S__
#include <cci.h>
#include <cci.h>
#include <hi3660.h>
#include <gic_v2.h>
#include <gic_v2.h>
#include <hi3660.h>
#include <platform_def.h>
#include <platform_def.h>
.
section
.
rodata.
gic_reg_name
,
"aS"
.
section
.
rodata.
gic_reg_name
,
"aS"
...
...
plat/mediatek/common/mtk_plat_common.c
View file @
aa965e15
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
#include <mmio.h>
#include <mmio.h>
#include <mtk_plat_common.h>
#include <mtk_plat_common.h>
#include <mtk_sip_svc.h>
#include <mtk_sip_svc.h>
#include <platform.h>
#include <plat_private.h>
#include <plat_private.h>
#include <platform.h>
#include <xlat_tables.h>
#include <xlat_tables.h>
struct
atf_arg_t
gteearg
;
struct
atf_arg_t
gteearg
;
...
...
plat/mediatek/mt6795/bl31_plat_setup.c
View file @
aa965e15
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
#include <arch_helpers.h>
#include <arm_gic.h>
#include <arm_gic.h>
#include <assert.h>
#include <assert.h>
#include <arch_helpers.h>
#include <bl_common.h>
#include <bl_common.h>
#include <cci.h>
#include <cci.h>
#include <common_def.h>
#include <common_def.h>
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
#include <generic_delay_timer.h>
#include <generic_delay_timer.h>
#include <mcucfg.h>
#include <mcucfg.h>
#include <mmio.h>
#include <mmio.h>
#include <mtk_sip_svc.h>
#include <mtk_plat_common.h>
#include <mt_cpuxgpt.h>
#include <mt_cpuxgpt.h>
#include <platform.h>
#include <mtk_plat_common.h>
#include <mtk_sip_svc.h>
#include <plat_private.h>
#include <plat_private.h>
#include <platform.h>
#include <string.h>
#include <string.h>
#include <xlat_tables.h>
#include <xlat_tables.h>
/*******************************************************************************
/*******************************************************************************
...
...
plat/mediatek/mt6795/drivers/timer/mt_cpuxgpt.c
View file @
aa965e15
...
@@ -4,13 +4,13 @@
...
@@ -4,13 +4,13 @@
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
#include <stdint.h>
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <debug.h>
#include <mmio.h>
#include <mmio.h>
#include <mt_cpuxgpt.h>
#include <mt_cpuxgpt.h>
#include <stdint.h>
#include <platform.h>
#include <platform.h>
#include <
debug
.h>
#include <
stdint
.h>
#define CPUXGPT_BASE 0x10200000
#define CPUXGPT_BASE 0x10200000
#define INDEX_BASE (CPUXGPT_BASE+0x0674)
#define INDEX_BASE (CPUXGPT_BASE+0x0674)
#define CTL_BASE (CPUXGPT_BASE+0x0670)
#define CTL_BASE (CPUXGPT_BASE+0x0670)
...
...
plat/mediatek/mt6795/plat_pm.c
View file @
aa965e15
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
#include <errno.h>
#include <errno.h>
#include <mcucfg.h>
#include <mcucfg.h>
#include <mmio.h>
#include <mmio.h>
#include <platform_def.h>
#include <plat_private.h>
#include <plat_private.h>
#include <platform_def.h>
#include <power_tracer.h>
#include <power_tracer.h>
#include <psci.h>
#include <psci.h>
#include <scu.h>
#include <scu.h>
...
...
plat/mediatek/mt8173/drivers/mtcmos/mtcmos.c
View file @
aa965e15
...
@@ -3,13 +3,14 @@
...
@@ -3,13 +3,14 @@
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
#include <debug.h>
#include <delay_timer.h>
#include <mmio.h>
#include <mmio.h>
#include <mt8173_def.h>
#include <mt8173_def.h>
#include <debug.h>
#include <mtcmos.h>
#include <mtcmos.h>
#include <spm.h>
#include <spm.h>
#include <spm_mcdi.h>
#include <spm_mcdi.h>
#include <delay_timer.h>
enum
{
enum
{
SRAM_ISOINT_B
=
1U
<<
6
,
SRAM_ISOINT_B
=
1U
<<
6
,
...
...
plat/mediatek/mt8173/plat_sip_calls.c
View file @
aa965e15
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
#include <crypt.h>
#include <crypt.h>
#include <debug.h>
#include <debug.h>
#include <mmio.h>
#include <mmio.h>
#include <mtk_sip_svc.h>
#include <mtcmos.h>
#include <mtcmos.h>
#include <mtk_sip_svc.h>
#include <plat_sip_calls.h>
#include <plat_sip_calls.h>
#include <runtime_svc.h>
#include <runtime_svc.h>
...
...
plat/nvidia/tegra/common/aarch64/tegra_helpers.S
View file @
aa965e15
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
#include <asm_macros.S>
#include <asm_macros.S>
#include <assert_macros.S>
#include <assert_macros.S>
#include <cpu_macros.S>
#include <cpu_macros.S>
#include <cortex_a57.h>
#include <cortex_a53.h>
#include <cortex_a53.h>
#include <cortex_a57.h>
#include <platform_def.h>
#include <platform_def.h>
#include <tegra_def.h>
#include <tegra_def.h>
...
...
plat/nvidia/tegra/common/drivers/flowctrl/flowctrl.c
View file @
aa965e15
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <assert.h>
#include <cortex_a53.h>
#include <debug.h>
#include <debug.h>
#include <delay_timer.h>
#include <delay_timer.h>
#include <flowctrl.h>
#include <mmio.h>
#include <mmio.h>
#include <pmc.h>
#include <pmc.h>
#include <cortex_a53.h>
#include <flowctrl.h>
#include <tegra_def.h>
#include <tegra_def.h>
#define CLK_RST_DEV_L_SET 0x300
#define CLK_RST_DEV_L_SET 0x300
...
...
plat/nvidia/tegra/common/tegra_bl31_setup.c
View file @
aa965e15
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
#include <bl31.h>
#include <bl31.h>
#include <bl_common.h>
#include <bl_common.h>
#include <console.h>
#include <console.h>
#include <cortex_a57.h>
#include <cortex_a53.h>
#include <cortex_a53.h>
#include <cortex_a57.h>
#include <debug.h>
#include <debug.h>
#include <denver.h>
#include <denver.h>
#include <errno.h>
#include <errno.h>
...
...
plat/nvidia/tegra/common/tegra_gic.c
View file @
aa965e15
...
@@ -5,16 +5,16 @@
...
@@ -5,16 +5,16 @@
*/
*/
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <arm_gic.h>
#include <arm_gic.h>
#include <assert.h>
#include <bl_common.h>
#include <bl_common.h>
#include <debug.h>
#include <debug.h>
#include <gic_v2.h>
#include <gic_v2.h>
#include <interrupt_mgmt.h>
#include <interrupt_mgmt.h>
#include <platform.h>
#include <platform.h>
#include <stdint.h>
#include <stdint.h>
#include <tegra_private.h>
#include <tegra_def.h>
#include <tegra_def.h>
#include <tegra_private.h>
/* Value used to initialize Non-Secure IRQ priorities four at a time */
/* Value used to initialize Non-Secure IRQ priorities four at a time */
#define GICD_IPRIORITYR_DEF_VAL \
#define GICD_IPRIORITYR_DEF_VAL \
...
...
Prev
1
2
3
4
5
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