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
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
#include <gic_common.h> #include <gic_common.h>
#include <runtime_svc.h> #include <runtime_svc.h>
#include <string.h> #include <string.h>
#include "../zynqmp_private.h"
#include "pm_api_sys.h" #include "pm_api_sys.h"
#include "pm_client.h" #include "pm_client.h"
#include "pm_ipi.h" #include "pm_ipi.h"
#include "../zynqmp_private.h"
#define PM_GET_CALLBACK_DATA 0xa01 #define PM_GET_CALLBACK_DATA 0xa01
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
#include <bl_common.h> #include <bl_common.h>
#include <console.h> #include <console.h>
#include <debug.h> #include <debug.h>
#include <platform_tsp.h>
#include <plat_arm.h> #include <plat_arm.h>
#include <platform_tsp.h>
#include "../zynqmp_private.h" #include "../zynqmp_private.h"
#define BL32_END (unsigned long)(&__BL32_END__) #define BL32_END (unsigned long)(&__BL32_END__)
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
******************************************************************************/ ******************************************************************************/
#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 <context_mgmt.h> #include <context_mgmt.h>
#include <debug.h> #include <debug.h>
#include <errno.h> #include <errno.h>
...@@ -26,8 +26,9 @@ ...@@ -26,8 +26,9 @@
#include <stddef.h> #include <stddef.h>
#include <uuid.h> #include <uuid.h>
#include "opteed_private.h" #include "opteed_private.h"
#include "teesmc_opteed_macros.h"
#include "teesmc_opteed.h" #include "teesmc_opteed.h"
#include "teesmc_opteed_macros.h"
/******************************************************************************* /*******************************************************************************
* Address of the entrypoint vector table in OPTEE. It is * Address of the entrypoint vector table in OPTEE. It is
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
******************************************************************************/ ******************************************************************************/
#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 <context_mgmt.h> #include <context_mgmt.h>
#include <debug.h> #include <debug.h>
#include <errno.h> #include <errno.h>
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
#include <arch_helpers.h> #include <arch_helpers.h>
#include <assert.h> /* for context_mgmt.h */ #include <assert.h> /* for context_mgmt.h */
#include <bl_common.h>
#include <bl31.h> #include <bl31.h>
#include <bl_common.h>
#include <context_mgmt.h> #include <context_mgmt.h>
#include <debug.h> #include <debug.h>
#include <interrupt_mgmt.h> #include <interrupt_mgmt.h>
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
#include <runtime_svc.h> #include <runtime_svc.h>
#include <string.h> #include <string.h>
#include "smcall.h"
#include "sm_err.h" #include "sm_err.h"
#include "smcall.h"
/* macro to check if Hypervisor is enabled in the HCR_EL2 register */ /* macro to check if Hypervisor is enabled in the HCR_EL2 register */
#define HYP_ENABLE_FLAG 0x286001 #define HYP_ENABLE_FLAG 0x286001
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
******************************************************************************/ ******************************************************************************/
#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 <context_mgmt.h> #include <context_mgmt.h>
#include <debug.h> #include <debug.h>
#include <errno.h> #include <errno.h>
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
#ifndef EXT_H_ #ifndef EXT_H_
#define EXT_H_ #define EXT_H_
#include "key.h"
#include <openssl/x509v3.h> #include <openssl/x509v3.h>
#include "key.h"
/* Extension types supported */ /* Extension types supported */
enum ext_type_e { enum ext_type_e {
......
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
*/ */
#include <assert.h> #include <assert.h>
#include <cmd_opt.h>
#include <getopt.h> #include <getopt.h>
#include <stddef.h> #include <stddef.h>
#include <stdlib.h> #include <stdlib.h>
#include <cmd_opt.h>
#include "debug.h" #include "debug.h"
/* Command line options */ /* Command line options */
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
#include "ext.h" #include "ext.h"
#include "key.h" #include "key.h"
#include "sha.h" #include "sha.h"
#include "tbbr/tbb_ext.h"
#include "tbbr/tbb_cert.h" #include "tbbr/tbb_cert.h"
#include "tbbr/tbb_ext.h"
#include "tbbr/tbb_key.h" #include "tbbr/tbb_key.h"
/* /*
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
#include <stdio.h>
#include <openssl/sha.h> #include <openssl/sha.h>
#include <stdio.h>
#include "debug.h" #include "debug.h"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <unistd.h> #include <unistd.h>
#include <openssl/sha.h> #include <openssl/sha.h>
#include <firmware_image_package.h> #include <firmware_image_package.h>
#include "fiptool.h" #include "fiptool.h"
......
...@@ -7,10 +7,11 @@ ...@@ -7,10 +7,11 @@
#ifndef __FIPTOOL_H__ #ifndef __FIPTOOL_H__
#define __FIPTOOL_H__ #define __FIPTOOL_H__
#include <firmware_image_package.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <firmware_image_package.h>
#include <uuid.h> #include <uuid.h>
#define NELEM(x) (sizeof (x) / sizeof *(x)) #define NELEM(x) (sizeof (x) / sizeof *(x))
......
...@@ -4,9 +4,8 @@ ...@@ -4,9 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
#include <stddef.h>
#include <firmware_image_package.h> #include <firmware_image_package.h>
#include <stddef.h>
#include "tbbr_config.h" #include "tbbr_config.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