Commit aa965e15 authored by davidcunado-arm's avatar davidcunado-arm Committed by GitHub
Browse files

Merge pull request #1029 from islmit01/im/fix_includes

Fix order of includes
parents 4deb7bcc ee1ebbd1
...@@ -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>
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
......
...@@ -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>
......
...@@ -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,
......
...@@ -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>
......
...@@ -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>
......
...@@ -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>
......
...@@ -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>
......
...@@ -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)
......
...@@ -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>
......
...@@ -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;
......
...@@ -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
......
...@@ -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__ */
...@@ -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.
......
...@@ -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>
......
...@@ -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"
......
...@@ -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>
......
...@@ -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)
......
...@@ -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_... */
......
...@@ -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"
......
...@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment