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
bl1/aarch64/bl1_exceptions.S
View file @
aa965e15
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
#include <arch.h>
#include <arch.h>
#include <asm_macros.S>
#include <asm_macros.S>
#include <bl_common.h>
#include <bl1.h>
#include <bl1.h>
#include <bl_common.h>
#include <context.h>
#include <context.h>
/*
-----------------------------------------------------------------------------
/*
-----------------------------------------------------------------------------
...
...
bl1/bl1_fwu.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 <assert.h>
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <auth_mod.h>
#include <auth_mod.h>
#include <bl1.h>
#include <bl1.h>
#include <bl_common.h>
#include <bl_common.h>
...
...
bl1/bl1_main.c
View file @
aa965e15
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
#include <platform_def.h>
#include <platform_def.h>
#include <smcc_helpers.h>
#include <smcc_helpers.h>
#include <utils.h>
#include <utils.h>
#include "bl1_private.h"
#include <uuid.h>
#include <uuid.h>
#include "bl1_private.h"
/* BL1 Service UUID */
/* BL1 Service UUID */
DEFINE_SVC_UUID
(
bl1_svc_uid
,
DEFINE_SVC_UUID
(
bl1_svc_uid
,
...
...
bl2u/bl2u_main.c
View file @
aa965e15
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <assert.h>
#include <auth_mod.h>
#include <auth_mod.h>
#include <bl_common.h>
#include <bl1.h>
#include <bl1.h>
#include <bl_common.h>
#include <console.h>
#include <console.h>
#include <debug.h>
#include <debug.h>
#include <platform.h>
#include <platform.h>
...
...
bl31/bl31_main.c
View file @
aa965e15
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
#include <arch.h>
#include <arch.h>
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <assert.h>
#include <bl_common.h>
#include <bl31.h>
#include <bl31.h>
#include <bl_common.h>
#include <console.h>
#include <console.h>
#include <context_mgmt.h>
#include <context_mgmt.h>
#include <debug.h>
#include <debug.h>
...
...
drivers/auth/cryptocell/cryptocell_crypto.c
View file @
aa965e15
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
*/
*/
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <crypto_mod.h>
#include <crypto_driver.h>
#include <crypto_driver.h>
#include <crypto_mod.h>
#include <debug.h>
#include <debug.h>
#include <mbedtls_common.h>
#include <mbedtls_common.h>
#include <platform_def.h>
#include <platform_def.h>
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
#include <secureboot_gen_defs.h>
#include <secureboot_gen_defs.h>
#include <stddef.h>
#include <stddef.h>
#include <string.h>
#include <string.h>
#include <utils.h>
#include <util.h>
#include <util.h>
#include <utils.h>
#include <mbedtls/oid.h>
#include <mbedtls/oid.h>
...
...
drivers/auth/mbedtls/mbedtls_crypto.c
View file @
aa965e15
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
#include <crypto_mod.h>
#include <crypto_mod.h>
#include <debug.h>
#include <debug.h>
#include <mbedtls_common.h>
#include <mbedtls_common.h>
...
...
drivers/auth/tbbr/tbbr_cot.c
View file @
aa965e15
...
@@ -6,12 +6,14 @@
...
@@ -6,12 +6,14 @@
#include <auth_mod.h>
#include <auth_mod.h>
#include <platform_def.h>
#include <platform_def.h>
#include <stddef.h>
#if USE_TBBR_DEFS
#if USE_TBBR_DEFS
#include <tbbr_oid.h>
#include <tbbr_oid.h>
#else
#else
#include <platform_oid.h>
#include <platform_oid.h>
#endif
#endif
#include <stddef.h>
/*
/*
* Maximum key and hash sizes (in DER format)
* Maximum key and hash sizes (in DER format)
...
...
drivers/partition/partition.c
View file @
aa965e15
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
#include <assert.h>
#include <assert.h>
#include <debug.h>
#include <debug.h>
#include <io_storage.h>
#include <gpt.h>
#include <gpt.h>
#include <io_storage.h>
#include <mbr.h>
#include <mbr.h>
#include <partition.h>
#include <partition.h>
#include <platform.h>
#include <platform.h>
...
...
include/drivers/arm/cryptocell/cc_pal_types_plat.h
View file @
aa965e15
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
#define _CC_PAL_TYPES_PLAT_H
#define _CC_PAL_TYPES_PLAT_H
/* Host specific types for standard (ISO-C99) compilant platforms */
/* Host specific types for standard (ISO-C99) compilant platforms */
#include <stdint.h>
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>
typedef
uint32_t
CCStatus
;
typedef
uint32_t
CCStatus
;
...
...
include/drivers/arm/cryptocell/nvm.h
View file @
aa965e15
...
@@ -13,8 +13,8 @@ extern "C"
...
@@ -13,8 +13,8 @@ extern "C"
#endif
#endif
#include "cc_crypto_boot_defs.h"
#include "cc_crypto_boot_defs.h"
#include "cc_sec_defs.h"
#include "cc_pal_types.h"
#include "cc_pal_types.h"
#include "cc_sec_defs.h"
/*------------------------------------
/*------------------------------------
DEFINES
DEFINES
...
...
include/drivers/auth/mbedtls/mbedtls_config.h
View file @
aa965e15
...
@@ -69,12 +69,12 @@
...
@@ -69,12 +69,12 @@
#define MBEDTLS_MPI_WINDOW_SIZE 2
#define MBEDTLS_MPI_WINDOW_SIZE 2
#define MBEDTLS_MPI_MAX_SIZE 256
#define MBEDTLS_MPI_MAX_SIZE 256
/* System headers required to build mbed TLS with the current configuration */
#include <stdlib.h>
/* Memory buffer allocator options */
/* Memory buffer allocator options */
#define MBEDTLS_MEMORY_ALIGN_MULTIPLE 8
#define MBEDTLS_MEMORY_ALIGN_MULTIPLE 8
#include "mbedtls/check_config.h"
#include "mbedtls/check_config.h"
/* System headers required to build mbed TLS with the current configuration */
#include <stdlib.h>
#endif
/* __MBEDTLS_CONFIG_H__ */
#endif
/* __MBEDTLS_CONFIG_H__ */
include/lib/pmf/pmf_helpers.h
View file @
aa965e15
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
#include <bl_common.h>
#include <bl_common.h>
#include <platform.h>
#include <platform.h>
#include <pmf.h>
#include <pmf.h>
#include <stdint.h>
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>
/*
/*
* Prototype for PMF service functions.
* Prototype for PMF service functions.
...
...
lib/cpus/aarch64/cortex_a55.S
View file @
aa965e15
...
@@ -4,10 +4,10 @@
...
@@ -4,10 +4,10 @@
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
*/
#include <cortex_a55.h>
#include <arch.h>
#include <arch.h>
#include <asm_macros.S>
#include <asm_macros.S>
#include <bl_common.h>
#include <bl_common.h>
#include <cortex_a55.h>
#include <cpu_macros.S>
#include <cpu_macros.S>
#include <plat_macros.S>
#include <plat_macros.S>
...
...
lib/psci/psci_on.c
View file @
aa965e15
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <assert.h>
#include <bl_common.h>
#include <bl_common.h>
#include <debug.h>
#include <context_mgmt.h>
#include <context_mgmt.h>
#include <debug.h>
#include <platform.h>
#include <platform.h>
#include <stddef.h>
#include <stddef.h>
#include "psci_private.h"
#include "psci_private.h"
...
...
lib/psci/psci_suspend.c
View file @
aa965e15
...
@@ -4,10 +4,10 @@
...
@@ -4,10 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
#include <assert.h>
#include <bl_common.h>
#include <arch.h>
#include <arch.h>
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <bl_common.h>
#include <context.h>
#include <context.h>
#include <context_mgmt.h>
#include <context_mgmt.h>
#include <cpu_data.h>
#include <cpu_data.h>
...
...
lib/psci/psci_system_off.c
View file @
aa965e15
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
#include <stddef.h>
#include <arch_helpers.h>
#include <arch_helpers.h>
#include <assert.h>
#include <assert.h>
#include <console.h>
#include <console.h>
#include <debug.h>
#include <debug.h>
#include <platform.h>
#include <platform.h>
#include <stddef.h>
#include "psci_private.h"
#include "psci_private.h"
void
__dead2
psci_system_off
(
void
)
void
__dead2
psci_system_off
(
void
)
...
...
plat/arm/board/fvp/fvp_io_storage.c
View file @
aa965e15
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
#include <common_def.h>
#include <common_def.h>
#include <debug.h>
#include <debug.h>
#include <io_driver.h>
#include <io_driver.h>
#include <io_storage.h>
#include <io_semihosting.h>
#include <io_semihosting.h>
#include <io_storage.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <semihosting.h>
/* For FOPEN_MODE_... */
#include <semihosting.h>
/* For FOPEN_MODE_... */
...
...
plat/arm/board/fvp/fvp_pm.c
View file @
aa965e15
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
#include <debug.h>
#include <debug.h>
#include <errno.h>
#include <errno.h>
#include <mmio.h>
#include <mmio.h>
#include <platform.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <platform.h>
#include <psci.h>
#include <psci.h>
#include <v2m_def.h>
#include <v2m_def.h>
#include "drivers/pwrc/fvp_pwrc.h"
#include "drivers/pwrc/fvp_pwrc.h"
...
...
plat/arm/board/juno/juno_bl1_setup.c
View file @
aa965e15
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
#include <bl_common.h>
#include <bl_common.h>
#include <errno.h>
#include <errno.h>
#include <platform.h>
#include <plat_arm.h>
#include <plat_arm.h>
#include <platform.h>
#include <sp805.h>
#include <sp805.h>
#include <tbbr_img_def.h>
#include <tbbr_img_def.h>
#include <v2m_def.h>
#include <v2m_def.h>
...
...
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