Merge pull request #1029 from islmit01/im/fix_includes
authordavidcunado-arm <david.cunado@arm.com>
Thu, 20 Jul 2017 21:01:00 +0000 (22:01 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2017 21:01:00 +0000 (22:01 +0100)
Fix order of includes

93 files changed:
bl1/aarch64/bl1_exceptions.S
bl1/bl1_fwu.c
bl1/bl1_main.c
bl2u/bl2u_main.c
bl31/bl31_main.c
drivers/auth/cryptocell/cryptocell_crypto.c
drivers/auth/mbedtls/mbedtls_crypto.c
drivers/auth/tbbr/tbbr_cot.c
drivers/partition/partition.c
include/drivers/arm/cryptocell/cc_pal_types_plat.h
include/drivers/arm/cryptocell/nvm.h
include/drivers/auth/mbedtls/mbedtls_config.h
include/lib/pmf/pmf_helpers.h
lib/cpus/aarch64/cortex_a55.S
lib/psci/psci_on.c
lib/psci/psci_suspend.c
lib/psci/psci_system_off.c
plat/arm/board/fvp/fvp_io_storage.c
plat/arm/board/fvp/fvp_pm.c
plat/arm/board/juno/juno_bl1_setup.c
plat/arm/common/arm_bl1_setup.c
plat/arm/common/arm_bl2_setup.c
plat/arm/common/arm_bl2u_setup.c
plat/arm/common/tsp/arm_tsp_setup.c
plat/hisilicon/hikey/hisi_pwrc.c
plat/hisilicon/hikey/hisi_sip_svc.c
plat/hisilicon/hikey960/drivers/ipc/hisi_ipc.c
plat/hisilicon/hikey960/drivers/pwrc/hisi_pwrc.c
plat/hisilicon/hikey960/hikey960_bl1_setup.c
plat/hisilicon/hikey960/include/plat_macros.S
plat/mediatek/common/mtk_plat_common.c
plat/mediatek/mt6795/bl31_plat_setup.c
plat/mediatek/mt6795/drivers/timer/mt_cpuxgpt.c
plat/mediatek/mt6795/plat_pm.c
plat/mediatek/mt8173/drivers/mtcmos/mtcmos.c
plat/mediatek/mt8173/plat_sip_calls.c
plat/nvidia/tegra/common/aarch64/tegra_helpers.S
plat/nvidia/tegra/common/drivers/flowctrl/flowctrl.c
plat/nvidia/tegra/common/tegra_bl31_setup.c
plat/nvidia/tegra/common/tegra_gic.c
plat/nvidia/tegra/common/tegra_pm.c
plat/nvidia/tegra/common/tegra_sip_calls.c
plat/nvidia/tegra/soc/t132/plat_psci_handlers.c
plat/nvidia/tegra/soc/t132/plat_secondary.c
plat/nvidia/tegra/soc/t186/drivers/mce/ari.c
plat/nvidia/tegra/soc/t186/drivers/mce/nvg.c
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c
plat/qemu/dt.c
plat/qemu/qemu_bl2_setup.c
plat/qemu/qemu_common.c
plat/qemu/qemu_pm.c
plat/qemu/topology.c
plat/rockchip/common/aarch64/platform_common.c
plat/rockchip/common/bl31_plat_setup.c
plat/rockchip/common/drivers/parameter/ddr_parameter.c
plat/rockchip/common/drivers/parameter/ddr_parameter.h
plat/rockchip/common/include/plat_private.h
plat/rockchip/common/params_setup.c
plat/rockchip/common/plat_pm.c
plat/rockchip/common/plat_topology.c
plat/rockchip/rk3328/drivers/pmu/pmu.c
plat/rockchip/rk3328/drivers/soc/soc.c
plat/rockchip/rk3368/drivers/ddr/ddr_rk3368.c
plat/rockchip/rk3368/drivers/pmu/pmu.c
plat/rockchip/rk3368/drivers/soc/soc.c
plat/rockchip/rk3399/drivers/dram/dfs.c
plat/rockchip/rk3399/drivers/dram/dram.c
plat/rockchip/rk3399/drivers/dram/dram_spec_timing.c
plat/rockchip/rk3399/drivers/dram/suspend.c
plat/rockchip/rk3399/drivers/gpio/rk3399_gpio.c
plat/rockchip/rk3399/drivers/pmu/m0_ctl.c
plat/rockchip/rk3399/drivers/pmu/pmu.c
plat/rockchip/rk3399/drivers/soc/soc.c
plat/rockchip/rk3399/plat_sip_calls.c
plat/xilinx/zynqmp/bl31_zynqmp_setup.c
plat/xilinx/zynqmp/plat_psci.c
plat/xilinx/zynqmp/pm_service/pm_api_sys.c
plat/xilinx/zynqmp/pm_service/pm_client.c
plat/xilinx/zynqmp/pm_service/pm_client.h
plat/xilinx/zynqmp/pm_service/pm_ipi.c
plat/xilinx/zynqmp/pm_service/pm_svc_main.c
plat/xilinx/zynqmp/tsp/tsp_plat_setup.c
services/spd/opteed/opteed_main.c
services/spd/tlkd/tlkd_main.c
services/spd/trusty/trusty.c
services/spd/tspd/tspd_main.c
tools/cert_create/include/ext.h
tools/cert_create/src/cmd_opt.c
tools/cert_create/src/main.c
tools/cert_create/src/sha.c
tools/fiptool/fiptool.c
tools/fiptool/fiptool.h
tools/fiptool/tbbr_config.c

index b0902fd5ab8be253d806a2ea0dd401f8002c5582..eb98ffa0df5221671ae3f6934143db7f31ea7761 100644 (file)
@@ -6,8 +6,8 @@
 
 #include <arch.h>
 #include <asm_macros.S>
-#include <bl_common.h>
 #include <bl1.h>
+#include <bl_common.h>
 #include <context.h>
 
 /* -----------------------------------------------------------------------------
index 8dfc55f6ca8e2d2eafb30ff17173bf00c8d30bd3..07a7fc8143d5d08cd5f35bbb6d6a0c3aa63b0427 100644 (file)
@@ -4,8 +4,8 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <assert.h>
 #include <arch_helpers.h>
+#include <assert.h>
 #include <auth_mod.h>
 #include <bl1.h>
 #include <bl_common.h>
index fa4f3a4c0c27cc90e9eda8cd3e7e6819a191ec54..821b6a3577630f104ed068ce8ccf0df3c59f5d4a 100644 (file)
@@ -17,8 +17,8 @@
 #include <platform_def.h>
 #include <smcc_helpers.h>
 #include <utils.h>
-#include "bl1_private.h"
 #include <uuid.h>
+#include "bl1_private.h"
 
 /* BL1 Service UUID */
 DEFINE_SVC_UUID(bl1_svc_uid,
index 820da100e0454069d7281c7b1d6607530c5680cc..09ad4683f09d4f29e41e7fdafafcc2e27c5c4e8e 100644 (file)
@@ -8,8 +8,8 @@
 #include <arch_helpers.h>
 #include <assert.h>
 #include <auth_mod.h>
-#include <bl_common.h>
 #include <bl1.h>
+#include <bl_common.h>
 #include <console.h>
 #include <debug.h>
 #include <platform.h>
index c53f8a220515474614b4cb91608b243c7b153237..4a88bd7b54edeca36adc7f52c3394ea6b8b09dd6 100644 (file)
@@ -7,8 +7,8 @@
 #include <arch.h>
 #include <arch_helpers.h>
 #include <assert.h>
-#include <bl_common.h>
 #include <bl31.h>
+#include <bl_common.h>
 #include <console.h>
 #include <context_mgmt.h>
 #include <debug.h>
index 05462bea12347022d2a3b89e0b221f8f12765df3..80c10933e9aa83e241f53b0e5e89fda827700761 100644 (file)
@@ -5,8 +5,8 @@
  */
 
 #include <arch_helpers.h>
-#include <crypto_mod.h>
 #include <crypto_driver.h>
+#include <crypto_mod.h>
 #include <debug.h>
 #include <mbedtls_common.h>
 #include <platform_def.h>
@@ -16,8 +16,8 @@
 #include <secureboot_gen_defs.h>
 #include <stddef.h>
 #include <string.h>
-#include <utils.h>
 #include <util.h>
+#include <utils.h>
 
 #include <mbedtls/oid.h>
 
index b157a32ed2dfe7f5e0f8b765d113a4a2f0cd6694..d8810d6dbe847ed92d3284f98478f58a4f55d065 100644 (file)
@@ -4,7 +4,6 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-
 #include <crypto_mod.h>
 #include <debug.h>
 #include <mbedtls_common.h>
index e88c7c26dc47a614c14b2ecab6f99bd1beb6896a..a9a4b37fe3df8e30c971c3387827afcc636260a6 100644 (file)
@@ -6,12 +6,14 @@
 
 #include <auth_mod.h>
 #include <platform_def.h>
+#include <stddef.h>
+
 #if USE_TBBR_DEFS
 #include <tbbr_oid.h>
 #else
 #include <platform_oid.h>
 #endif
-#include <stddef.h>
+
 
 /*
  * Maximum key and hash sizes (in DER format)
index 190ac38d95766caf77e3d9edc5388dfe6125201b..e2b468363b8fe69143ee9f85e6b2e5b14f6043a7 100644 (file)
@@ -6,8 +6,8 @@
 
 #include <assert.h>
 #include <debug.h>
-#include <io_storage.h>
 #include <gpt.h>
+#include <io_storage.h>
 #include <mbr.h>
 #include <partition.h>
 #include <platform.h>
index d8ed3e1d31858a078b55888bb25e49c0f6e70879..84100245b2d33d7b32a90d3be27f49e9492b3797 100644 (file)
@@ -11,8 +11,8 @@
 #define _CC_PAL_TYPES_PLAT_H
 /* Host specific types for standard (ISO-C99) compilant platforms */
 
-#include <stdint.h>
 #include <stddef.h>
+#include <stdint.h>
 
 typedef uint32_t CCStatus;
 
index f806d3d42bb424b8082636c0356ec929df342aa8..a70289fb89bb8339f151296b3c7a8ca196ab682d 100644 (file)
@@ -13,8 +13,8 @@ extern "C"
 #endif
 
 #include "cc_crypto_boot_defs.h"
-#include "cc_sec_defs.h"
 #include "cc_pal_types.h"
+#include "cc_sec_defs.h"
 
 /*------------------------------------
     DEFINES
index 0a058862699a9550a777f4388c7ad9a2ab17cd7c..fdeb52bb6a9d4b67dd92dadd000fc2e9d22ac393 100644 (file)
 #define MBEDTLS_MPI_WINDOW_SIZE              2
 #define MBEDTLS_MPI_MAX_SIZE               256
 
+/* System headers required to build mbed TLS with the current configuration */
+#include <stdlib.h>
+
 /* Memory buffer allocator options */
 #define MBEDTLS_MEMORY_ALIGN_MULTIPLE        8
 
 #include "mbedtls/check_config.h"
 
-/* System headers required to build mbed TLS with the current configuration */
-#include <stdlib.h>
-
 #endif /* __MBEDTLS_CONFIG_H__ */
index 286262a4ca1766c0edec102d633dc4c246dc055f..9984d6918187adf569faf428f9ef964dd316dfa0 100644 (file)
@@ -12,8 +12,8 @@
 #include <bl_common.h>
 #include <platform.h>
 #include <pmf.h>
-#include <stdint.h>
 #include <stddef.h>
+#include <stdint.h>
 
 /*
  * Prototype for PMF service functions.
index f1031591a6f86e34896dfacf06c700138d008e83..741c77347ffe1802f65dfc6148ca40e360b0f9dd 100644 (file)
@@ -4,10 +4,10 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <cortex_a55.h>
 #include <arch.h>
 #include <asm_macros.S>
 #include <bl_common.h>
+#include <cortex_a55.h>
 #include <cpu_macros.S>
 #include <plat_macros.S>
 
index d5c9843a498c2272978e0d19b57be05fff8a4123..16b22c2abbe6d881d543f20a7d4717ab375b436a 100644 (file)
@@ -8,8 +8,8 @@
 #include <arch_helpers.h>
 #include <assert.h>
 #include <bl_common.h>
-#include <debug.h>
 #include <context_mgmt.h>
+#include <debug.h>
 #include <platform.h>
 #include <stddef.h>
 #include "psci_private.h"
index 4798892621aa0371aae8076ecf4d76abc4727412..0d1589ee0a0df7c8eb4eff01483229c106075cb1 100644 (file)
@@ -4,10 +4,10 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <assert.h>
-#include <bl_common.h>
 #include <arch.h>
 #include <arch_helpers.h>
+#include <assert.h>
+#include <bl_common.h>
 #include <context.h>
 #include <context_mgmt.h>
 #include <cpu_data.h>
index 4a55248db86e25e955087373c4239d88fe642379..ef5d3d1d6590b0f6d7b04c79587f7b0cd066abbd 100644 (file)
@@ -4,12 +4,12 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <stddef.h>
 #include <arch_helpers.h>
 #include <assert.h>
 #include <console.h>
 #include <debug.h>
 #include <platform.h>
+#include <stddef.h>
 #include "psci_private.h"
 
 void __dead2 psci_system_off(void)
index 27bab8006920b7dbd70d082f28ae402fef85c774..aa2ee305661f241eeca84b129f7f40b352f5ca1a 100644 (file)
@@ -8,8 +8,8 @@
 #include <common_def.h>
 #include <debug.h>
 #include <io_driver.h>
-#include <io_storage.h>
 #include <io_semihosting.h>
+#include <io_storage.h>
 #include <plat_arm.h>
 #include <semihosting.h>       /* For FOPEN_MODE_... */
 
index e39a4d50e12a983a0ae77979f3e72c1ff56f0b55..9a02089e7a1fd9e750da6223fca9cdb69b6f9ca9 100644 (file)
@@ -10,8 +10,8 @@
 #include <debug.h>
 #include <errno.h>
 #include <mmio.h>
-#include <platform.h>
 #include <plat_arm.h>
+#include <platform.h>
 #include <psci.h>
 #include <v2m_def.h>
 #include "drivers/pwrc/fvp_pwrc.h"
index 65b956d0de659096493886299e6062fb2c0ce680..7c026bcb796a7192335aff96f5971b2d1c6060f5 100644 (file)
@@ -6,8 +6,8 @@
 
 #include <bl_common.h>
 #include <errno.h>
-#include <platform.h>
 #include <plat_arm.h>
+#include <platform.h>
 #include <sp805.h>
 #include <tbbr_img_def.h>
 #include <v2m_def.h>
index ba95d2532cee4529c8ad4a9d328f80e6c239d6b0..6860e36bc392fdbd26b4f0e9e127dd095881cf7b 100644 (file)
@@ -9,8 +9,8 @@
 #include <arm_xlat_tables.h>
 #include <bl_common.h>
 #include <console.h>
-#include <platform_def.h>
 #include <plat_arm.h>
+#include <platform_def.h>
 #include <sp805.h>
 #include <utils.h>
 #include "../../../bl1/bl1_private.h"
index e5619b7f4efb2cb7d4b4a75f30598ab848c45e86..b7621b8539039536808794bf5bb9f1c05d020121 100644 (file)
@@ -12,8 +12,8 @@
 #include <debug.h>
 #include <desc_image_load.h>
 #include <plat_arm.h>
-#include <platform_def.h>
 #include <platform.h>
+#include <platform_def.h>
 #include <string.h>
 #include <utils.h>
 
index 5dc9eea080d8f7eb5735b669d57ac0ff7408b1bb..03d908b1618385525369f029161696b74109d3e2 100644 (file)
@@ -8,8 +8,8 @@
 #include <arm_def.h>
 #include <bl_common.h>
 #include <console.h>
-#include <platform_def.h>
 #include <plat_arm.h>
+#include <platform_def.h>
 #include <string.h>
 
 /* Weak definitions may be overridden in specific ARM standard platform */
index 2eed18783d94da66053fe8dd4d59864fe81e68aa..abeaea0bcd0c98f9c453026f526750fa6ae0b8a6 100644 (file)
@@ -7,9 +7,9 @@
 #include <arm_def.h>
 #include <bl_common.h>
 #include <console.h>
+#include <plat_arm.h>
 #include <platform_def.h>
 #include <platform_tsp.h>
-#include <plat_arm.h>
 
 #define BL32_END (unsigned long)(&__BL32_END__)
 
index fcc9bd8977abb03fee73712bfcbefd3fcbb93473..ade408d44f5e2b3399c411f3ab61607c8cfd6398 100644 (file)
@@ -6,11 +6,13 @@
 
 #include <debug.h>
 #include <mmio.h>
+
+#include <hi6220_regs_acpu.h>
+#include <hi6220_regs_ao.h>
 #include <hisi_ipc.h>
 #include <hisi_pwrc.h>
 #include <hisi_sram_map.h>
-#include <hi6220_regs_acpu.h>
-#include <hi6220_regs_ao.h>
+
 #include <stdarg.h>
 #include <stdio.h>
 #include <string.h>
index 15953af099574764b6400899c730af29418ccfb2..b3109d611358c08b30fcc63e87f846e785ad6345 100644 (file)
@@ -4,8 +4,8 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <hisi_sip_svc.h>
 #include <debug.h>
+#include <hisi_sip_svc.h>
 #include <pmf.h>
 #include <runtime_svc.h>
 #include <stdint.h>
index 8ce1e4ffa556bbe9d757453a2917566a5233a608..4c664d112797371933703cdd48323180639ac77a 100644 (file)
@@ -6,12 +6,12 @@
 
 #include <arch_helpers.h>
 #include <assert.h>
+#include <debug.h>
 #include <hi3660.h>
+#include <hisi_ipc.h>
 #include <mmio.h>
 #include <platform.h>
 #include <platform_def.h>
-#include <hisi_ipc.h>
-#include <debug.h>
 
 #include "../../hikey960_private.h"
 
index f82144a4e63116e46ae4606b3ea04f36f4059bb3..9fdc3e746192d4e345c8215f8dc10c8286d909e6 100644 (file)
@@ -4,13 +4,15 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
+#include <../hikey960_def.h>
 #include <arch_helpers.h>
 #include <assert.h>
+#include <hisi_ipc.h>
 #include <mmio.h>
 #include <platform.h>
 #include <platform_def.h>
-#include <../hikey960_def.h>
-#include <hisi_ipc.h>
+
+
 #include "hisi_pwrc.h"
 
 
index f9666df14f51a6d6054ea4d330e5dfbb0dfd678a..54e73478f3077047e28ff9df0372da73b0c227ae 100644 (file)
 #include <delay_timer.h>
 #include <dw_ufs.h>
 #include <errno.h>
+#include <generic_delay_timer.h>
 #include <gicv2.h>
 #include <hi3660.h>
 #include <mmio.h>
-#include <generic_delay_timer.h>
 #include <platform.h>
 #include <platform_def.h>
 #include <string.h>
index 9f1befdc0933c7a573ff8f9bb55a8226c40a2395..5137f9eb23b9cfbb7af5717646f4de4f7c3381ca 100644 (file)
@@ -8,8 +8,8 @@
 #define __PLAT_MACROS_S__
 
 #include <cci.h>
-#include <hi3660.h>
 #include <gic_v2.h>
+#include <hi3660.h>
 #include <platform_def.h>
 
 .section .rodata.gic_reg_name, "aS"
index 4e8aaec38e29330a46e81182351a4cce42f0c9c3..6a13192c6ff6199b359ee1e9ae49caee44ae048d 100644 (file)
@@ -12,8 +12,8 @@
 #include <mmio.h>
 #include <mtk_plat_common.h>
 #include <mtk_sip_svc.h>
-#include <platform.h>
 #include <plat_private.h>
+#include <platform.h>
 #include <xlat_tables.h>
 
 struct atf_arg_t gteearg;
index a70d10311331e7c9be06e059d52678773aec5c42..803f1ed85ae6c3dc1bf6f55ee9e1aa31891781ab 100644 (file)
@@ -3,9 +3,9 @@
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
+#include <arch_helpers.h>
 #include <arm_gic.h>
 #include <assert.h>
-#include <arch_helpers.h>
 #include <bl_common.h>
 #include <cci.h>
 #include <common_def.h>
 #include <generic_delay_timer.h>
 #include <mcucfg.h>
 #include <mmio.h>
-#include <mtk_sip_svc.h>
-#include <mtk_plat_common.h>
 #include <mt_cpuxgpt.h>
-#include <platform.h>
+#include <mtk_plat_common.h>
+#include <mtk_sip_svc.h>
 #include <plat_private.h>
+#include <platform.h>
 #include <string.h>
 #include <xlat_tables.h>
 /*******************************************************************************
index 1f64558fe0ff3e6c2a2261e864283d2b2aaeb5e8..b357972e418623302b01efd4c0a6073a66bdf24a 100644 (file)
@@ -4,13 +4,13 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <stdint.h>
+
 #include <arch_helpers.h>
+#include <debug.h>
 #include <mmio.h>
 #include <mt_cpuxgpt.h>
-#include <stdint.h>
 #include <platform.h>
-#include <debug.h>
+#include <stdint.h>
 #define CPUXGPT_BASE   0x10200000
 #define INDEX_BASE             (CPUXGPT_BASE+0x0674)
 #define CTL_BASE               (CPUXGPT_BASE+0x0670)
index a0b777535bedb4c66145af0ebea20b4414ea8538..bd47bd8b1ce172345e0d95e32269a840473e5727 100644 (file)
@@ -14,8 +14,8 @@
 #include <errno.h>
 #include <mcucfg.h>
 #include <mmio.h>
-#include <platform_def.h>
 #include <plat_private.h>
+#include <platform_def.h>
 #include <power_tracer.h>
 #include <psci.h>
 #include <scu.h>
index 6330b7bae0bf7c5ef6e4a0c447d7956e12a07902..25f25097ed913ee919a97d3ee41f4dd70397bd5e 100644 (file)
@@ -3,13 +3,14 @@
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
+
+#include <debug.h>
+#include <delay_timer.h>
 #include <mmio.h>
 #include <mt8173_def.h>
-#include <debug.h>
 #include <mtcmos.h>
 #include <spm.h>
 #include <spm_mcdi.h>
-#include <delay_timer.h>
 
 enum {
        SRAM_ISOINT_B   = 1U << 6,
index 76200eca01f00e91ef75fb0f15fd770c941f6749..1d51cb592ffcf366d87ce5d2003bf580deb3d68e 100644 (file)
@@ -6,8 +6,8 @@
 #include <crypt.h>
 #include <debug.h>
 #include <mmio.h>
-#include <mtk_sip_svc.h>
 #include <mtcmos.h>
+#include <mtk_sip_svc.h>
 #include <plat_sip_calls.h>
 #include <runtime_svc.h>
 
index 22389f274a23923c9654daf0bdf95bf4496aa039..e5e512685a788fa224c1cc7d4c301cf858e0999d 100644 (file)
@@ -7,8 +7,8 @@
 #include <asm_macros.S>
 #include <assert_macros.S>
 #include <cpu_macros.S>
-#include <cortex_a57.h>
 #include <cortex_a53.h>
+#include <cortex_a57.h>
 #include <platform_def.h>
 #include <tegra_def.h>
 
index 585c11554b28955c671762d9934a454368f7ccc0..2d827da81a0cef5d47791744bea138bd15330394 100644 (file)
@@ -6,12 +6,12 @@
 
 #include <arch_helpers.h>
 #include <assert.h>
+#include <cortex_a53.h>
 #include <debug.h>
 #include <delay_timer.h>
+#include <flowctrl.h>
 #include <mmio.h>
 #include <pmc.h>
-#include <cortex_a53.h>
-#include <flowctrl.h>
 #include <tegra_def.h>
 
 #define CLK_RST_DEV_L_SET              0x300
index bc1685745a91bf48873ab85e5830010663103661..d5d3d530d477716437c265a53fba8a2b1507ab17 100644 (file)
@@ -10,8 +10,8 @@
 #include <bl31.h>
 #include <bl_common.h>
 #include <console.h>
-#include <cortex_a57.h>
 #include <cortex_a53.h>
+#include <cortex_a57.h>
 #include <debug.h>
 #include <denver.h>
 #include <errno.h>
index ae56d55a0e252bc10ca3d9e1400aafbe4985e5ee..e480e77275e73ee47865f2d6c2aa3357027680d1 100644 (file)
@@ -5,16 +5,16 @@
  */
 
 #include <arch_helpers.h>
-#include <assert.h>
 #include <arm_gic.h>
+#include <assert.h>
 #include <bl_common.h>
 #include <debug.h>
 #include <gic_v2.h>
 #include <interrupt_mgmt.h>
 #include <platform.h>
 #include <stdint.h>
-#include <tegra_private.h>
 #include <tegra_def.h>
+#include <tegra_private.h>
 
 /* Value used to initialize Non-Secure IRQ priorities four at a time */
 #define GICD_IPRIORITYR_DEF_VAL \
index 6f841ef0941c575e9210a86a5d3de319cd5a82d3..0c25934c3101f4bf9eb92c47d39f9a0586c59548 100644 (file)
@@ -7,9 +7,9 @@
 #include <arch_helpers.h>
 #include <assert.h>
 #include <bl_common.h>
+#include <console.h>
 #include <context.h>
 #include <context_mgmt.h>
-#include <console.h>
 #include <debug.h>
 #include <memctrl.h>
 #include <mmio.h>
index dcad21e0e31c7cac7b9de08867dfe384a14ffd51..d96ce7a07a9e2fdfb3ad868a13d52ca60e47104a 100644 (file)
@@ -13,8 +13,8 @@
 #include <memctrl.h>
 #include <mmio.h>
 #include <runtime_svc.h>
-#include <tegra_private.h>
 #include <tegra_platform.h>
+#include <tegra_private.h>
 
 /*******************************************************************************
  * Common Tegra SiP SMCs
index 9b7dc8537ff41dc7810bf4d0a44f9a0068cebfe1..1cffb741a9e16d7ecbd5ddcd1ba5fb434a801f3a 100644 (file)
@@ -7,9 +7,9 @@
 #include <arch.h>
 #include <arch_helpers.h>
 #include <assert.h>
-#include <denver.h>
 #include <debug.h>
 #include <delay_timer.h>
+#include <denver.h>
 #include <flowctrl.h>
 #include <mmio.h>
 #include <platform_def.h>
index 96f514d83d3085f1194bf3faaad399f7b1ae78e4..d5ca30c976f47fbd0b45b566e350445ec8a998c3 100644 (file)
@@ -10,8 +10,8 @@
 #include <denver.h>
 #include <mmio.h>
 #include <platform.h>
-#include <psci.h>
 #include <pmc.h>
+#include <psci.h>
 #include <tegra_def.h>
 
 #define SB_CSR                         0x0
index 2803f4eaa7cfaf8c643b2e02d9ae53c21fa8ae0b..d34f7e288da813210da3bf3b836e7bf18055941f 100644 (file)
@@ -10,8 +10,8 @@
 #include <debug.h>
 #include <delay_timer.h>
 #include <denver.h>
-#include <mmio.h>
 #include <mce_private.h>
+#include <mmio.h>
 #include <platform.h>
 #include <sys/errno.h>
 #include <t18x_ari.h>
index 9c115bdd518095277a1c30da5a59f2c719d14795..243c8f3a373619152e91a85a637dea0d8c5f91f0 100644 (file)
@@ -8,8 +8,8 @@
 #include <arch_helpers.h>
 #include <debug.h>
 #include <denver.h>
-#include <mmio.h>
 #include <mce_private.h>
+#include <mmio.h>
 #include <sys/errno.h>
 #include <t18x_ari.h>
 
index 3dff6539dc4b834234d992cb141a3eb4e34f821e..f77746cae1ed320b27312005a3f76759595336ac 100644 (file)
@@ -8,12 +8,12 @@
 #include <assert.h>
 #include <debug.h>
 #include <delay_timer.h>
+#include <flowctrl.h>
 #include <mmio.h>
 #include <platform.h>
 #include <platform_def.h>
-#include <psci.h>
 #include <pmc.h>
-#include <flowctrl.h>
+#include <psci.h>
 #include <tegra_def.h>
 #include <tegra_private.h>
 
index f732a6d5d2bd1ce4d83f2ea0b991958e83e23cdd..c544d9f446d62dc1f24158feaa50768db2a77a07 100644 (file)
@@ -7,8 +7,8 @@
 #include <debug.h>
 #include <libfdt.h>
 #include <psci.h>
-#include "qemu_private.h"
 #include <string.h>
+#include "qemu_private.h"
 
 static int append_psci_compatible(void *fdt, int offs, const char *str)
 {
index 2557a711a84acd660400bff6464b21f065edecbb..f928b105331d2028f115b6406166cd274f95043f 100644 (file)
@@ -9,9 +9,9 @@
 #include <debug.h>
 #include <libfdt.h>
 #include <platform_def.h>
-#include "qemu_private.h"
 #include <string.h>
 #include <utils.h>
+#include "qemu_private.h"
 
 /*
  * The next 2 constants identify the extents of the code & RO data region.
index 39df1f13b56e93f33ecd2fc11f5ca4bb988edd4f..daa9fc146bc8d398cc878ddcfb6f1b512e6b1611 100644 (file)
@@ -7,8 +7,8 @@
 #include <arch_helpers.h>
 #include <bl_common.h>
 #include <platform_def.h>
-#include "qemu_private.h"
 #include <xlat_tables.h>
+#include "qemu_private.h"
 
 #define MAP_DEVICE0    MAP_REGION_FLAT(DEVICE0_BASE,                   \
                                        DEVICE0_SIZE,                   \
index f735391283044bcacaaa70f8106be385aba3350f..c184f1c35d9c47f8312f62881d44f5af1fcfebdc 100644 (file)
@@ -8,8 +8,8 @@
 #include <assert.h>
 #include <debug.h>
 #include <gicv2.h>
-#include <platform_def.h>
 #include <platform.h>
+#include <platform_def.h>
 #include <psci.h>
 
 /*
index 05ff4e1f84047480c039a1ec1775909bbdcc0cf2..d7ba9b7e0e985e6ef0ddebedb67f2d2845d92da7 100644 (file)
@@ -6,8 +6,8 @@
 
 #include <arch.h>
 #include <platform_def.h>
-#include "qemu_private.h"
 #include <sys/types.h>
+#include "qemu_private.h"
 
 /* The power domain tree descriptor */
 static unsigned char power_domain_tree_desc[] = {
index a756f40dbec63c738379d3f260e326544d8dd31b..25eab43469841b979d7c022c61c227d52326813e 100644 (file)
@@ -9,11 +9,11 @@
 #include <bl_common.h>
 #include <cci.h>
 #include <debug.h>
-#include <string.h>
-#include <xlat_tables.h>
-#include <platform_def.h>
 #include <plat_private.h>
+#include <platform_def.h>
+#include <string.h>
 #include <utils.h>
+#include <xlat_tables.h>
 
 #ifdef PLAT_RK_CCI_BASE
 static const int cci_map[] = {
index f7564e81ca3bf090b0db09bd4616944486cf3400..292f0dd7d17816df64feca96a12d21ba6e174338 100644 (file)
@@ -11,8 +11,8 @@
 #include <debug.h>
 #include <generic_delay_timer.h>
 #include <mmio.h>
-#include <platform.h>
 #include <plat_private.h>
+#include <platform.h>
 #include <platform_def.h>
 
 /*******************************************************************************
index 5069a92952076e3ab5a3798d96e0d63b888d1abd..ea77757f7b1b9a142f7f2686c0499ee56587bf11 100644 (file)
@@ -9,8 +9,8 @@
 #include <debug.h>
 #include <delay_timer.h>
 #include <mmio.h>
-#include <platform_def.h>
 #include <plat_private.h>
+#include <platform_def.h>
 #include <soc.h>
 #include <string.h>
 #include "ddr_parameter.h"
index f8eacd4bed40161406c13a6a72b08c7e9007b56d..f8e3be93bfabe27782171a144fd7492f59f79df3 100644 (file)
@@ -12,8 +12,8 @@
 #include <debug.h>
 #include <delay_timer.h>
 #include <mmio.h>
-#include <platform_def.h>
 #include <plat_private.h>
+#include <platform_def.h>
 #include <soc.h>
 #include <string.h>
 
index b9540f23e6b0499cdb22489ffa865ad4640ea038..290811a2657b546331b70414a645ff15ba7c9a42 100644 (file)
@@ -9,9 +9,9 @@
 
 #ifndef __ASSEMBLY__
 #include <mmio.h>
+#include <psci.h>
 #include <stdint.h>
 #include <xlat_tables.h>
-#include <psci.h>
 
 #define __sramdata __attribute__((section(".sram.data")))
 #define __sramconst __attribute__((section(".sram.rodata")))
index ad4ef7f31ab75ec3a9336e0b1d23e8c949b2306a..b37acb76bfdea7572e5f11fad475eed45bfe93ca 100644 (file)
@@ -11,9 +11,9 @@
 #include <debug.h>
 #include <gpio.h>
 #include <mmio.h>
-#include <platform.h>
 #include <plat_params.h>
 #include <plat_private.h>
+#include <platform.h>
 #include <string.h>
 
 static struct gpio_info param_reset;
index 4133fd04f1dafa2bea43c2e4e83fdac90fa370cc..cd88f60cbc5491a7d4f291b4526508d11a8e9dff 100644 (file)
@@ -7,12 +7,12 @@
 #include <arch_helpers.h>
 #include <assert.h>
 #include <console.h>
-#include <errno.h>
 #include <debug.h>
-#include <psci.h>
 #include <delay_timer.h>
-#include <platform_def.h>
+#include <errno.h>
 #include <plat_private.h>
+#include <platform_def.h>
+#include <psci.h>
 
 /* Macros to read the rk power domain state */
 #define RK_CORE_PWR_STATE(state) \
index 3d0f208194d01dc4d9ae96f82cc0d067c4af28dc..49d063cf5746c2086bb04628fec02e00905b3c9c 100644 (file)
@@ -5,8 +5,8 @@
  */
 
 #include <arch.h>
-#include <platform_def.h>
 #include <plat_private.h>
+#include <platform_def.h>
 #include <psci.h>
 
 /*******************************************************************************
index 60f36d31b8ba8f49ef8699acb03519860290db29..f576fe41263f44728b83d53a7fce9a0c708bd0e3 100644 (file)
@@ -5,20 +5,20 @@
  */
 
 #include <arch_helpers.h>
-#include <debug.h>
 #include <assert.h>
 #include <bakery_lock.h>
 #include <bl31.h>
 #include <console.h>
+#include <debug.h>
 #include <delay_timer.h>
 #include <errno.h>
 #include <mmio.h>
+#include <plat_private.h>
 #include <platform.h>
 #include <platform_def.h>
-#include <plat_private.h>
 #include <pmu.h>
-#include <rk3328_def.h>
 #include <pmu_com.h>
+#include <rk3328_def.h>
 
 DEFINE_BAKERY_LOCK(rockchip_pd_lock);
 
index d4cba99821594eb5542c32969dbaa23c6e260c35..ce344d66d54a33a0a95c0f19211bb4c12081343f 100644 (file)
@@ -6,12 +6,12 @@
 
 #include <arch_helpers.h>
 #include <console.h>
+#include <ddr_parameter.h>
 #include <debug.h>
 #include <delay_timer.h>
 #include <mmio.h>
-#include <platform_def.h>
 #include <plat_private.h>
-#include <ddr_parameter.h>
+#include <platform_def.h>
 #include <rk3328_def.h>
 #include <soc.h>
 
index b902bba945d2a74e79e37da297fbad588d4531a3..1c33763f317d02220cdfaa4520d820e010ba1409 100644 (file)
@@ -7,12 +7,12 @@
 #include <mmio.h>
 #include <ddr_rk3368.h>
 #include <debug.h>
-#include <stdint.h>
-#include <string.h>
 #include <platform_def.h>
 #include <pmu.h>
 #include <rk3368_def.h>
 #include <soc.h>
+#include <stdint.h>
+#include <string.h>
 
 /* GRF_SOC_STATUS0 */
 #define DPLL_LOCK              (0x1 << 2)
index 1767967f34178188d480bfb8cb4db05f81f2e0d2..cb323e6ee931a55885b99468ce707536f2f64374 100644 (file)
@@ -6,18 +6,18 @@
 
 #include <arch_helpers.h>
 #include <assert.h>
+#include <ddr_rk3368.h>
 #include <debug.h>
 #include <delay_timer.h>
 #include <errno.h>
 #include <mmio.h>
+#include <plat_private.h>
 #include <platform.h>
 #include <platform_def.h>
-#include <plat_private.h>
-#include <rk3368_def.h>
-#include <soc.h>
 #include <pmu.h>
-#include <ddr_rk3368.h>
 #include <pmu_com.h>
+#include <rk3368_def.h>
+#include <soc.h>
 
 DEFINE_BAKERY_LOCK(rockchip_pd_lock);
 
index 9e1e583b509c6eaee6bc935b324e4009b5f5852b..d6979a8449eee9ee60f17edc0f2f4617ebc7766d 100644 (file)
@@ -7,8 +7,8 @@
 #include <arch_helpers.h>
 #include <debug.h>
 #include <mmio.h>
-#include <platform_def.h>
 #include <plat_private.h>
+#include <platform_def.h>
 #include <rk3368_def.h>
 #include <soc.h>
 
index 481dcc64edae5b56b45fe13e820f29089e62523d..d629e4bfb6b04b3c8e2a79929d8a7bb8fbae8116 100644 (file)
@@ -6,17 +6,16 @@
 
 #include <arch_helpers.h>
 #include <debug.h>
-#include <mmio.h>
+#include <delay_timer.h>
 #include <m0_ctl.h>
+#include <mmio.h>
 #include <plat_private.h>
 #include "dfs.h"
 #include "dram.h"
 #include "dram_spec_timing.h"
-#include "string.h"
-#include "soc.h"
 #include "pmu.h"
-
-#include <delay_timer.h>
+#include "soc.h"
+#include "string.h"
 
 #define ENPER_CS_TRAINING_FREQ (666)
 #define TDFI_LAT_THRESHOLD_FREQ        (928)
index ad79f9efb5c90b38705971c46b3c85545ee45754..42b62945ad9e2bfa55940654290cb3fb84b86355 100644 (file)
@@ -6,9 +6,9 @@
 
 #include <dram.h>
 #include <plat_private.h>
+#include <rk3399_def.h>
 #include <secure.h>
 #include <soc.h>
-#include <rk3399_def.h>
 
 __pmusramdata struct rk3399_sdram_params sdram_config;
 
index a2b28b7e1095ad28bb434504c58183f8e987da8b..2e196b54c175d56166c2811b5685731796492954 100644 (file)
@@ -4,9 +4,9 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <string.h>
-#include <stdint.h>
 #include <dram.h>
+#include <stdint.h>
+#include <string.h>
 #include <utils.h>
 #include "dram_spec_timing.h"
 
index 617e39baad3994df5fa7eb89bd84f86d9cd6bf63..68677449822548a3edab838fc4ef707b515db905 100644 (file)
@@ -3,11 +3,12 @@
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
-#include <debug.h>
+
 #include <arch_helpers.h>
-#include <platform_def.h>
-#include <plat_private.h>
+#include <debug.h>
 #include <dram.h>
+#include <plat_private.h>
+#include <platform_def.h>
 #include <pmu_regs.h>
 #include <rk3399_def.h>
 #include <secure.h>
index 2d8b439ca7da593995377dc66e6cb384bfc24d94..d5a26609321d681a274b809255621f31aec7cbe6 100644 (file)
@@ -9,9 +9,9 @@
 #include <errno.h>
 #include <gpio.h>
 #include <mmio.h>
+#include <plat_private.h>
 #include <platform.h>
 #include <platform_def.h>
-#include <plat_private.h>
 #include <soc.h>
 
 uint32_t gpio_port[] = {
index 99a5b639dfd61513c56a95c7793e212af76bbaf6..61849e5006475991ed4b2561e5452edd1d375237 100644 (file)
@@ -8,8 +8,8 @@
 #include <assert.h>
 #include <debug.h>
 #include <delay_timer.h>
-#include <mmio.h>
 #include <m0_ctl.h>
+#include <mmio.h>
 #include <plat_private.h>
 #include <rk3399_def.h>
 #include <secure.h>
index 37977e14da929dfc689e154b451d0047b0c355de..6b420c24ce962e87f86b1770324697b75ec9a14f 100644 (file)
@@ -7,25 +7,25 @@
 #include <arch_helpers.h>
 #include <assert.h>
 #include <bakery_lock.h>
+#include <bl31.h>
 #include <debug.h>
 #include <delay_timer.h>
 #include <dfs.h>
 #include <errno.h>
 #include <gpio.h>
-#include <mmio.h>
 #include <m0_ctl.h>
-#include <platform.h>
-#include <platform_def.h>
+#include <mmio.h>
 #include <plat_params.h>
 #include <plat_private.h>
+#include <platform.h>
+#include <platform_def.h>
+#include <pmu.h>
+#include <pmu_com.h>
+#include <pwm.h>
 #include <rk3399_def.h>
 #include <secure.h>
 #include <soc.h>
 #include <string.h>
-#include <pmu.h>
-#include <pmu_com.h>
-#include <pwm.h>
-#include <bl31.h>
 #include <suspend.h>
 
 DEFINE_BAKERY_LOCK(rockchip_pd_lock);
index b3e9e953e2ba13f017e3d91374535162353de35a..993b80ad4833428358e6190bad0bd94dc8dc434a 100644 (file)
 #include <delay_timer.h>
 #include <dfs.h>
 #include <dram.h>
-#include <mmio.h>
 #include <m0_ctl.h>
-#include <platform_def.h>
+#include <mmio.h>
 #include <plat_private.h>
+#include <platform_def.h>
 #include <rk3399_def.h>
 #include <secure.h>
 #include <soc.h>
index 1a016042f27d0ddefa2a0fb112d2a4c5400180ec..074dc193f2b2d08850713fe5798c1300723a89c5 100644 (file)
@@ -6,11 +6,11 @@
 
 #include <cdn_dp.h>
 #include <debug.h>
+#include <dfs.h>
 #include <mmio.h>
 #include <plat_sip_calls.h>
 #include <rockchip_sip_svc.h>
 #include <runtime_svc.h>
-#include <dfs.h>
 
 #define RK_SIP_DDR_CFG         0x82000008
 #define DRAM_INIT              0x00
index 61372291ed60424454916e62bdc4ef94cfd1d0dd..1edbd0f65009e2de30a86d378fa438ca3e1293d9 100644 (file)
@@ -5,8 +5,8 @@
  */
 
 #include <assert.h>
-#include <bl_common.h>
 #include <bl31.h>
+#include <bl_common.h>
 #include <console.h>
 #include <debug.h>
 #include <errno.h>
index d334a1046bc3404be3724a38a82d4099d5534a2f..c9fd36113e1f425f8d287f34b04389d0566a39ee 100644 (file)
@@ -5,9 +5,9 @@
  */
 
 #include <arch_helpers.h>
-#include <errno.h>
 #include <assert.h>
 #include <debug.h>
+#include <errno.h>
 #include <gicv2.h>
 #include <mmio.h>
 #include <plat_arm.h>
index 40f4da735826477a880ac6e94bc05f6845621d37..90c670d146b875c8ba7346bc009aee6e7d900be5 100644 (file)
 
 #include <arch_helpers.h>
 #include <platform.h>
+#include "pm_api_sys.h"
 #include "pm_client.h"
-#include "pm_ipi.h"
 #include "pm_common.h"
-#include "pm_api_sys.h"
+#include "pm_ipi.h"
 
 /**
  * Assigning of argument values into array elements.
index 08369b99e6cae6d03972b6c10d70322f85fd1ff5..9016fd6f33d9c00e648e3dcaa7d2532570e7810c 100644 (file)
 
 #include <assert.h>
 #include <bakery_lock.h>
-#include <gicv2.h>
-#include <gic_common.h>
 #include <bl_common.h>
+#include <gic_common.h>
+#include <gicv2.h>
 #include <mmio.h>
 #include <string.h>
 #include <utils.h>
+#include "../zynqmp_def.h"
 #include "pm_api_sys.h"
 #include "pm_client.h"
 #include "pm_ipi.h"
-#include "../zynqmp_def.h"
 
 #define IRQ_MAX                84
 #define NUM_GICD_ISENABLER     ((IRQ_MAX >> 5) + 1)
index 03dec4c4e299ad32d12bcf95fdc3d223170d6097..16e37d59225ff76ec7ff2c41b93d9eeabf31e68e 100644 (file)
@@ -12,8 +12,8 @@
 #ifndef _PM_CLIENT_H_
 #define _PM_CLIENT_H_
 
-#include "pm_defs.h"
 #include "pm_common.h"
+#include "pm_defs.h"
 
 /* Functions to be implemented by each PU */
 void pm_client_suspend(const struct pm_proc *proc, unsigned int state);
index ba72491c1f675bd2fddc8c3a2e43079f85ee22a4..fdffde772c44574d4563683adf5c6969a1ecdd32 100644 (file)
@@ -4,12 +4,12 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
+#include <arch_helpers.h>
 #include <bakery_lock.h>
 #include <mmio.h>
 #include <platform.h>
-#include <arch_helpers.h>
-#include "pm_ipi.h"
 #include "../zynqmp_private.h"
+#include "pm_ipi.h"
 
 /* IPI message buffers */
 #define IPI_BUFFER_BASEADDR    0xFF990000U
index b8381712794ba3fe54f15f67190839be76356033..f4e679bc40a15d28bd6faecd965eefce892d2540 100644 (file)
 #include <gic_common.h>
 #include <runtime_svc.h>
 #include <string.h>
+#include "../zynqmp_private.h"
 #include "pm_api_sys.h"
 #include "pm_client.h"
 #include "pm_ipi.h"
-#include "../zynqmp_private.h"
 
 #define PM_GET_CALLBACK_DATA   0xa01
 
index 27736f75cefbb0c47004e3073a5bc1dfe1220bf3..ecc4d0a972308cdbce3a99c841b6b461ed949219 100644 (file)
@@ -7,8 +7,8 @@
 #include <bl_common.h>
 #include <console.h>
 #include <debug.h>
-#include <platform_tsp.h>
 #include <plat_arm.h>
+#include <platform_tsp.h>
 #include "../zynqmp_private.h"
 
 #define BL32_END (unsigned long)(&__BL32_END__)
index 418e4820ede97340a0f25bc19c55da2759070948..e2a20352a76b6c19a8ebf6f04319e3c2bb35171b 100644 (file)
@@ -16,8 +16,8 @@
  ******************************************************************************/
 #include <arch_helpers.h>
 #include <assert.h>
-#include <bl_common.h>
 #include <bl31.h>
+#include <bl_common.h>
 #include <context_mgmt.h>
 #include <debug.h>
 #include <errno.h>
@@ -26,8 +26,9 @@
 #include <stddef.h>
 #include <uuid.h>
 #include "opteed_private.h"
-#include "teesmc_opteed_macros.h"
 #include "teesmc_opteed.h"
+#include "teesmc_opteed_macros.h"
+
 
 /*******************************************************************************
  * Address of the entrypoint vector table in OPTEE. It is
index 948be5df6b43b59d46813e5cfcb839ab5e2f1be2..78e98535fc9bf9d16d40be3a2c0a6746ea597d2e 100644 (file)
@@ -15,8 +15,8 @@
  ******************************************************************************/
 #include <arch_helpers.h>
 #include <assert.h>
-#include <bl_common.h>
 #include <bl31.h>
+#include <bl_common.h>
 #include <context_mgmt.h>
 #include <debug.h>
 #include <errno.h>
index a95141bff4028ca2dc795965e00c0ebecde89ba5..e386f71c67dfc5192c5be65b96d3a944b80fdc3c 100644 (file)
@@ -6,8 +6,8 @@
 
 #include <arch_helpers.h>
 #include <assert.h> /* for context_mgmt.h */
-#include <bl_common.h>
 #include <bl31.h>
+#include <bl_common.h>
 #include <context_mgmt.h>
 #include <debug.h>
 #include <interrupt_mgmt.h>
@@ -15,8 +15,8 @@
 #include <runtime_svc.h>
 #include <string.h>
 
-#include "smcall.h"
 #include "sm_err.h"
+#include "smcall.h"
 
 /* macro to check if Hypervisor is enabled in the HCR_EL2 register */
 #define HYP_ENABLE_FLAG                0x286001
index afa7e2ae2d20133b9e0ffcd249a678749191066f..2ba9f84c050e74b777e511a5fe4eec2f1a5177b0 100644 (file)
@@ -16,8 +16,8 @@
  ******************************************************************************/
 #include <arch_helpers.h>
 #include <assert.h>
-#include <bl_common.h>
 #include <bl31.h>
+#include <bl_common.h>
 #include <context_mgmt.h>
 #include <debug.h>
 #include <errno.h>
index 2aa17e25324e73e558a6c75538d5228a170ad7dc..d432e639caf2250c6c7bf8bef1cb9cae7134ffcd 100644 (file)
@@ -7,8 +7,8 @@
 #ifndef EXT_H_
 #define EXT_H_
 
-#include "key.h"
 #include <openssl/x509v3.h>
+#include "key.h"
 
 /* Extension types supported */
 enum ext_type_e {
index 0d47872ec030a296a1ddbe12e981d062365d245a..64180d1f50af89a01a7fd745c6fd0e742471febe 100644 (file)
@@ -5,10 +5,10 @@
  */
 
 #include <assert.h>
+#include <cmd_opt.h>
 #include <getopt.h>
 #include <stddef.h>
 #include <stdlib.h>
-#include <cmd_opt.h>
 #include "debug.h"
 
 /* Command line options */
index 99236370cd6711bb93c4a7eb60cb7709776556d2..f14601c8bc52e12360806d27d551b51891967173 100644 (file)
@@ -30,8 +30,8 @@
 #include "ext.h"
 #include "key.h"
 #include "sha.h"
-#include "tbbr/tbb_ext.h"
 #include "tbbr/tbb_cert.h"
+#include "tbbr/tbb_ext.h"
 #include "tbbr/tbb_key.h"
 
 /*
index 5d5e9e2198252a292324bdf154e96db5a214af03..2971593024a8f3ac62f6a100eb19ddc18c125c25 100644 (file)
@@ -4,8 +4,8 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <stdio.h>
 #include <openssl/sha.h>
+#include <stdio.h>
 
 #include "debug.h"
 
index 4d80f2f16632bb6ec067b133460d705b0387aff7..65e4a25c479ab2721a118e90c1bef4e854388622 100644 (file)
@@ -19,7 +19,6 @@
 #include <unistd.h>
 
 #include <openssl/sha.h>
-
 #include <firmware_image_package.h>
 
 #include "fiptool.h"
index 4b5cdd91f22ab523385bc576722217869da55a9f..889b0fde58a70a7c43bf57e6c67085c5523799bc 100644 (file)
@@ -7,10 +7,11 @@
 #ifndef __FIPTOOL_H__
 #define __FIPTOOL_H__
 
+#include <firmware_image_package.h>
+
 #include <stddef.h>
 #include <stdint.h>
 
-#include <firmware_image_package.h>
 #include <uuid.h>
 
 #define NELEM(x) (sizeof (x) / sizeof *(x))
index 7c6c24be4ff179c7b4cbfb5ebbcb23823ae3de8d..6231cd4edda59f41aa96e2d90e871306b48d808d 100644 (file)
@@ -4,9 +4,8 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <stddef.h>
-
 #include <firmware_image_package.h>
+#include <stddef.h>
 
 #include "tbbr_config.h"