From 234bc7f88ed42a5305016009c47e8a6dc3408f96 Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Tue, 15 Jan 2019 14:19:50 +0000 Subject: [PATCH] plat/arm: Fix header dependencies From now on, platform_def.h must include any header with definitions that are platform-specific (like arm_def.h) and the included headers mustn't include back platform_def.h, and shouldn't be used by other files. Only platform_def.h should be included in other files. This will ensure that all needed definitions are present, rather than needing to include all the headers in all the definitions' headers just in case. This also prevents problems like cyclic dependencies. Change-Id: I9d3cf4d1de4b956fa035c79545222697acdaf5ca Signed-off-by: Antonio Nino Diaz --- include/plat/arm/common/arm_def.h | 2 -- include/plat/arm/common/arm_spm_def.h | 2 -- include/plat/arm/css/common/css_def.h | 2 -- plat/arm/board/common/aarch32/board_arm_helpers.S | 2 +- plat/arm/board/common/aarch64/board_arm_helpers.S | 2 +- plat/arm/board/common/board_arm_trusted_boot.c | 3 +-- plat/arm/board/fvp/aarch32/fvp_helpers.S | 2 +- plat/arm/board/fvp/aarch64/fvp_helpers.S | 3 +-- plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c | 3 +-- plat/arm/board/fvp/fvp_bl2_setup.c | 3 +-- plat/arm/board/fvp/fvp_bl2u_setup.c | 2 +- plat/arm/board/fvp/fvp_common.c | 5 +---- plat/arm/board/fvp/fvp_pm.c | 3 +-- plat/arm/board/fvp/fvp_trusted_boot.c | 3 +-- plat/arm/board/fvp/include/plat_macros.S | 3 +-- plat/arm/board/juno/aarch32/juno_helpers.S | 4 +--- plat/arm/board/juno/aarch64/juno_helpers.S | 5 +---- plat/arm/board/juno/juno_bl1_setup.c | 2 +- plat/arm/board/juno/juno_common.c | 3 ++- plat/arm/board/juno/juno_err.c | 3 +-- plat/arm/board/juno/juno_security.c | 2 +- plat/arm/board/juno/juno_stack_protector.c | 2 +- plat/arm/board/juno/juno_topology.c | 3 +-- plat/arm/board/juno/juno_trng.c | 2 +- plat/arm/board/juno/juno_tzmp1_def.h | 2 -- plat/arm/board/n1sdp/include/platform_def.h | 1 + plat/arm/board/n1sdp/n1sdp_plat.c | 1 - plat/arm/common/arm_bl1_setup.c | 1 - plat/arm/common/arm_bl2_el3_setup.c | 2 +- plat/arm/common/arm_bl2_setup.c | 1 - plat/arm/common/arm_bl2u_setup.c | 1 - plat/arm/common/arm_bl31_setup.c | 2 +- plat/arm/common/arm_gicv3.c | 1 - plat/arm/common/arm_image_load.c | 1 - plat/arm/common/arm_pm.c | 1 - plat/arm/common/arm_tzc400.c | 2 -- plat/arm/common/arm_tzc_dmc500.c | 1 - plat/arm/common/tsp/arm_tsp_setup.c | 1 - plat/arm/css/common/aarch32/css_helpers.S | 3 ++- plat/arm/css/common/aarch64/css_helpers.S | 3 ++- plat/arm/css/common/css_bl2_setup.c | 2 +- plat/arm/css/drivers/mhu/css_mhu.c | 1 - plat/arm/css/drivers/scp/css_bom_bootloader.c | 3 +-- plat/arm/css/drivers/scp/css_pm_scmi.c | 2 +- plat/arm/css/drivers/scp/css_sds.c | 3 +-- plat/arm/css/drivers/scpi/css_scpi.c | 3 +-- plat/arm/css/drivers/sds/sds.c | 2 +- plat/arm/css/sgi/sgi_plat.c | 2 -- plat/arm/css/sgm/sgm_mmap_config.c | 1 - plat/arm/soc/common/soc_css_security.c | 2 -- 50 files changed, 35 insertions(+), 76 deletions(-) diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h index 4e9c70aa..e27dd80e 100644 --- a/include/plat/arm/common/arm_def.h +++ b/include/plat/arm/common/arm_def.h @@ -6,8 +6,6 @@ #ifndef ARM_DEF_H #define ARM_DEF_H -#include - #include #include #include diff --git a/include/plat/arm/common/arm_spm_def.h b/include/plat/arm/common/arm_spm_def.h index bdcbc96a..1c6f6e73 100644 --- a/include/plat/arm/common/arm_spm_def.h +++ b/include/plat/arm/common/arm_spm_def.h @@ -9,8 +9,6 @@ #include #include -#include - /* * Reserve 4 MiB for binaries of Secure Partitions and Resource Description * blobs. diff --git a/include/plat/arm/css/common/css_def.h b/include/plat/arm/css/common/css_def.h index 6b355a4e..575db04f 100644 --- a/include/plat/arm/css/common/css_def.h +++ b/include/plat/arm/css/common/css_def.h @@ -11,8 +11,6 @@ #include #include -#include - /************************************************************************* * Definitions common to all ARM Compute SubSystems (CSS) *************************************************************************/ diff --git a/plat/arm/board/common/aarch32/board_arm_helpers.S b/plat/arm/board/common/aarch32/board_arm_helpers.S index 320bfb3c..8c636933 100644 --- a/plat/arm/board/common/aarch32/board_arm_helpers.S +++ b/plat/arm/board/common/aarch32/board_arm_helpers.S @@ -6,7 +6,7 @@ #include #include -#include +#include .globl plat_report_exception diff --git a/plat/arm/board/common/aarch64/board_arm_helpers.S b/plat/arm/board/common/aarch64/board_arm_helpers.S index 5a905244..cde6b007 100644 --- a/plat/arm/board/common/aarch64/board_arm_helpers.S +++ b/plat/arm/board/common/aarch64/board_arm_helpers.S @@ -6,7 +6,7 @@ #include #include -#include +#include .globl plat_report_exception diff --git a/plat/arm/board/common/board_arm_trusted_boot.c b/plat/arm/board/common/board_arm_trusted_boot.c index 64ca3c36..e3c6805a 100644 --- a/plat/arm/board/common/board_arm_trusted_boot.c +++ b/plat/arm/board/common/board_arm_trusted_boot.c @@ -11,8 +11,7 @@ #include #include #include - -#include +#include /* SHA256 algorithm */ #define SHA256_BYTES 32 diff --git a/plat/arm/board/fvp/aarch32/fvp_helpers.S b/plat/arm/board/fvp/aarch32/fvp_helpers.S index 5d885469..f6895575 100644 --- a/plat/arm/board/fvp/aarch32/fvp_helpers.S +++ b/plat/arm/board/fvp/aarch32/fvp_helpers.S @@ -7,8 +7,8 @@ #include #include #include + #include "../drivers/pwrc/fvp_pwrc.h" -#include "../fvp_def.h" .globl plat_secondary_cold_boot_setup .globl plat_get_my_entrypoint diff --git a/plat/arm/board/fvp/aarch64/fvp_helpers.S b/plat/arm/board/fvp/aarch64/fvp_helpers.S index 0f905151..02a3c7c9 100644 --- a/plat/arm/board/fvp/aarch64/fvp_helpers.S +++ b/plat/arm/board/fvp/aarch64/fvp_helpers.S @@ -9,9 +9,8 @@ #include #include #include -#include + #include "../drivers/pwrc/fvp_pwrc.h" -#include "../fvp_def.h" .globl plat_secondary_cold_boot_setup .globl plat_get_my_entrypoint diff --git a/plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c b/plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c index c48bb07a..cae9827c 100644 --- a/plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c +++ b/plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c @@ -6,10 +6,9 @@ #include #include +#include #include - -#include "../../fvp_def.h" #include "../../fvp_private.h" #include "fvp_pwrc.h" diff --git a/plat/arm/board/fvp/fvp_bl2_setup.c b/plat/arm/board/fvp/fvp_bl2_setup.c index 13e74fd9..7aa620b1 100644 --- a/plat/arm/board/fvp/fvp_bl2_setup.c +++ b/plat/arm/board/fvp/fvp_bl2_setup.c @@ -8,10 +8,9 @@ #include #include #include +#include #include -#include -#include "fvp_def.h" #include "fvp_private.h" void bl2_early_platform_setup2(u_register_t arg0, u_register_t arg1, u_register_t arg2, u_register_t arg3) diff --git a/plat/arm/board/fvp/fvp_bl2u_setup.c b/plat/arm/board/fvp/fvp_bl2u_setup.c index c51e287f..6367be62 100644 --- a/plat/arm/board/fvp/fvp_bl2u_setup.c +++ b/plat/arm/board/fvp/fvp_bl2u_setup.c @@ -5,9 +5,9 @@ */ #include +#include #include -#include "fvp_def.h" #include "fvp_private.h" void bl2u_early_platform_setup(struct meminfo *mem_layout, void *plat_info) diff --git a/plat/arm/board/fvp/fvp_common.c b/plat/arm/board/fvp/fvp_common.c index 31a61de4..1a27fc46 100644 --- a/plat/arm/board/fvp/fvp_common.c +++ b/plat/arm/board/fvp/fvp_common.c @@ -13,15 +13,12 @@ #include #include #include +#include #include #include -#include -#include #include -#include -#include "../fvp_def.h" #include "fvp_private.h" /* Defines for GIC Driver build time selection */ diff --git a/plat/arm/board/fvp/fvp_pm.c b/plat/arm/board/fvp/fvp_pm.c index 7da246bd..8ba82815 100644 --- a/plat/arm/board/fvp/fvp_pm.c +++ b/plat/arm/board/fvp/fvp_pm.c @@ -14,14 +14,13 @@ #include #include #include +#include #include #include -#include #include "../../../../drivers/arm/gic/v3/gicv3_private.h" #include "drivers/pwrc/fvp_pwrc.h" -#include "fvp_def.h" #include "fvp_private.h" diff --git a/plat/arm/board/fvp/fvp_trusted_boot.c b/plat/arm/board/fvp/fvp_trusted_boot.c index c18bfb21..0d160cb1 100644 --- a/plat/arm/board/fvp/fvp_trusted_boot.c +++ b/plat/arm/board/fvp/fvp_trusted_boot.c @@ -9,10 +9,9 @@ #include #include +#include #include -#include "fvp_def.h" - /* * Store a new non-volatile counter value. On some FVP versions, the * non-volatile counters are RO. On these versions we expect the values in the diff --git a/plat/arm/board/fvp/include/plat_macros.S b/plat/arm/board/fvp/include/plat_macros.S index 6be8b093..57f59248 100644 --- a/plat/arm/board/fvp/include/plat_macros.S +++ b/plat/arm/board/fvp/include/plat_macros.S @@ -7,8 +7,7 @@ #define PLAT_MACROS_S #include -#include -#include "../fvp_def.h" +#include /* --------------------------------------------- * The below required platform porting macro diff --git a/plat/arm/board/juno/aarch32/juno_helpers.S b/plat/arm/board/juno/aarch32/juno_helpers.S index 080a8ddc..8f9561c8 100644 --- a/plat/arm/board/juno/aarch32/juno_helpers.S +++ b/plat/arm/board/juno/aarch32/juno_helpers.S @@ -11,9 +11,7 @@ #include #include #include -#include -#include "../juno_def.h" - +#include .globl plat_reset_handler .globl plat_arm_calc_core_pos diff --git a/plat/arm/board/juno/aarch64/juno_helpers.S b/plat/arm/board/juno/aarch64/juno_helpers.S index 373f2fc8..c94fa3ea 100644 --- a/plat/arm/board/juno/aarch64/juno_helpers.S +++ b/plat/arm/board/juno/aarch64/juno_helpers.S @@ -11,10 +11,7 @@ #include #include #include -#include -#include -#include "../juno_def.h" - +#include .globl plat_reset_handler .globl plat_arm_calc_core_pos diff --git a/plat/arm/board/juno/juno_bl1_setup.c b/plat/arm/board/juno/juno_bl1_setup.c index e751ab69..383409df 100644 --- a/plat/arm/board/juno/juno_bl1_setup.c +++ b/plat/arm/board/juno/juno_bl1_setup.c @@ -11,10 +11,10 @@ #include #include #include +#include #include #include -#include void juno_reset_to_aarch32_state(void); diff --git a/plat/arm/board/juno/juno_common.c b/plat/arm/board/juno/juno_common.c index 2e6b0113..e1341083 100644 --- a/plat/arm/board/juno/juno_common.c +++ b/plat/arm/board/juno/juno_common.c @@ -3,7 +3,8 @@ * * SPDX-License-Identifier: BSD-3-Clause */ -#include + +#include #include /* diff --git a/plat/arm/board/juno/juno_err.c b/plat/arm/board/juno/juno_err.c index 69daa1ae..f80ff245 100644 --- a/plat/arm/board/juno/juno_err.c +++ b/plat/arm/board/juno/juno_err.c @@ -8,8 +8,7 @@ #include #include - -#include +#include /* * Juno error handler diff --git a/plat/arm/board/juno/juno_security.c b/plat/arm/board/juno/juno_security.c index b0df8379..51c8669a 100644 --- a/plat/arm/board/juno/juno_security.c +++ b/plat/arm/board/juno/juno_security.c @@ -7,10 +7,10 @@ #include #include #include +#include #include #include -#include "juno_def.h" #include "juno_tzmp1_def.h" #ifdef JUNO_TZMP1 diff --git a/plat/arm/board/juno/juno_stack_protector.c b/plat/arm/board/juno/juno_stack_protector.c index ff05b5d4..236eb5ba 100644 --- a/plat/arm/board/juno/juno_stack_protector.c +++ b/plat/arm/board/juno/juno_stack_protector.c @@ -7,9 +7,9 @@ #include #include #include +#include #include "juno_decl.h" -#include "juno_def.h" u_register_t plat_get_stack_protector_canary(void) { diff --git a/plat/arm/board/juno/juno_topology.c b/plat/arm/board/juno/juno_topology.c index 51b99aca..e70cbdcb 100644 --- a/plat/arm/board/juno/juno_topology.c +++ b/plat/arm/board/juno/juno_topology.c @@ -5,11 +5,10 @@ */ #include +#include -#include #include #include -#include "juno_def.h" #include "../../css/drivers/scmi/scmi.h" #include "../../css/drivers/mhu/css_mhu_doorbell.h" diff --git a/plat/arm/board/juno/juno_trng.c b/plat/arm/board/juno/juno_trng.c index 505fb026..7869d3e3 100644 --- a/plat/arm/board/juno/juno_trng.c +++ b/plat/arm/board/juno/juno_trng.c @@ -9,9 +9,9 @@ #include #include +#include #include "juno_decl.h" -#include "juno_def.h" #define NSAMPLE_CLOCKS 1 /* min 1 cycle, max 231 cycles */ #define NRETRIES 5 diff --git a/plat/arm/board/juno/juno_tzmp1_def.h b/plat/arm/board/juno/juno_tzmp1_def.h index 5d0978c9..4186d02d 100644 --- a/plat/arm/board/juno/juno_tzmp1_def.h +++ b/plat/arm/board/juno/juno_tzmp1_def.h @@ -7,8 +7,6 @@ #ifndef JUNO_TZMP1_DEF_H #define JUNO_TZMP1_DEF_H -#include - /* * Public memory regions for both protected and non-protected mode * diff --git a/plat/arm/board/n1sdp/include/platform_def.h b/plat/arm/board/n1sdp/include/platform_def.h index 1556ac76..68d0f936 100644 --- a/plat/arm/board/n1sdp/include/platform_def.h +++ b/plat/arm/board/n1sdp/include/platform_def.h @@ -9,6 +9,7 @@ #include #include +#include /* UART related constants */ #define PLAT_ARM_BOOT_UART_BASE 0x2A400000 diff --git a/plat/arm/board/n1sdp/n1sdp_plat.c b/plat/arm/board/n1sdp/n1sdp_plat.c index 3bf1fe6c..87e15110 100644 --- a/plat/arm/board/n1sdp/n1sdp_plat.c +++ b/plat/arm/board/n1sdp/n1sdp_plat.c @@ -10,7 +10,6 @@ #include #include -#include #include /* diff --git a/plat/arm/common/arm_bl1_setup.c b/plat/arm/common/arm_bl1_setup.c index e28211cf..73fee607 100644 --- a/plat/arm/common/arm_bl1_setup.c +++ b/plat/arm/common/arm_bl1_setup.c @@ -16,7 +16,6 @@ #include #include -#include #include #include "../../../bl1/bl1_private.h" diff --git a/plat/arm/common/arm_bl2_el3_setup.c b/plat/arm/common/arm_bl2_el3_setup.c index 0c1f63ed..c38f2ec9 100644 --- a/plat/arm/common/arm_bl2_el3_setup.c +++ b/plat/arm/common/arm_bl2_el3_setup.c @@ -8,8 +8,8 @@ #include #include +#include -#include #include #pragma weak bl2_el3_early_platform_setup diff --git a/plat/arm/common/arm_bl2_setup.c b/plat/arm/common/arm_bl2_setup.c index 9319004e..b661eb15 100644 --- a/plat/arm/common/arm_bl2_setup.c +++ b/plat/arm/common/arm_bl2_setup.c @@ -20,7 +20,6 @@ #include #include -#include #include /* Data structure which holds the extents of the trusted SRAM for BL2 */ diff --git a/plat/arm/common/arm_bl2u_setup.c b/plat/arm/common/arm_bl2u_setup.c index 0dc66e64..332ed14c 100644 --- a/plat/arm/common/arm_bl2u_setup.c +++ b/plat/arm/common/arm_bl2u_setup.c @@ -14,7 +14,6 @@ #include #include -#include #include /* Weak definitions may be overridden in specific ARM standard platform */ diff --git a/plat/arm/common/arm_bl31_setup.c b/plat/arm/common/arm_bl31_setup.c index 41151c2c..dacefc45 100644 --- a/plat/arm/common/arm_bl31_setup.c +++ b/plat/arm/common/arm_bl31_setup.c @@ -16,8 +16,8 @@ #include #include #include +#include -#include #include /* diff --git a/plat/arm/common/arm_gicv3.c b/plat/arm/common/arm_gicv3.c index 0f6690a0..e3cee3af 100644 --- a/plat/arm/common/arm_gicv3.c +++ b/plat/arm/common/arm_gicv3.c @@ -11,7 +11,6 @@ #include #include -#include #include /****************************************************************************** diff --git a/plat/arm/common/arm_image_load.c b/plat/arm/common/arm_image_load.c index 791f05ed..bf1fbfd4 100644 --- a/plat/arm/common/arm_image_load.c +++ b/plat/arm/common/arm_image_load.c @@ -8,7 +8,6 @@ #include #include -#include #include #pragma weak plat_flush_next_bl_params diff --git a/plat/arm/common/arm_pm.c b/plat/arm/common/arm_pm.c index acfd9089..4ce13aa6 100644 --- a/plat/arm/common/arm_pm.c +++ b/plat/arm/common/arm_pm.c @@ -13,7 +13,6 @@ #include #include -#include #include /* Allow ARM Standard platforms to override these functions */ diff --git a/plat/arm/common/arm_tzc400.c b/plat/arm/common/arm_tzc400.c index 0346fa18..322713b5 100644 --- a/plat/arm/common/arm_tzc400.c +++ b/plat/arm/common/arm_tzc400.c @@ -9,8 +9,6 @@ #include #include -#include -#include #include /* Weak definitions may be overridden in specific ARM standard platform */ diff --git a/plat/arm/common/arm_tzc_dmc500.c b/plat/arm/common/arm_tzc_dmc500.c index bea3867d..07260a7e 100644 --- a/plat/arm/common/arm_tzc_dmc500.c +++ b/plat/arm/common/arm_tzc_dmc500.c @@ -11,7 +11,6 @@ #include #include -#include #include /******************************************************************************* diff --git a/plat/arm/common/tsp/arm_tsp_setup.c b/plat/arm/common/tsp/arm_tsp_setup.c index a3d2f715..0f2827db 100644 --- a/plat/arm/common/tsp/arm_tsp_setup.c +++ b/plat/arm/common/tsp/arm_tsp_setup.c @@ -14,7 +14,6 @@ #include #include -#include #include #define BL32_END (unsigned long)(&__BL32_END__) diff --git a/plat/arm/css/common/aarch32/css_helpers.S b/plat/arm/css/common/aarch32/css_helpers.S index 80aa24c6..d47e13da 100644 --- a/plat/arm/css/common/aarch32/css_helpers.S +++ b/plat/arm/css/common/aarch32/css_helpers.S @@ -3,10 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + #include #include #include -#include +#include .weak plat_secondary_cold_boot_setup .weak plat_get_my_entrypoint diff --git a/plat/arm/css/common/aarch64/css_helpers.S b/plat/arm/css/common/aarch64/css_helpers.S index 5096d8d9..01669be6 100644 --- a/plat/arm/css/common/aarch64/css_helpers.S +++ b/plat/arm/css/common/aarch64/css_helpers.S @@ -3,10 +3,11 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + #include #include #include -#include +#include .weak plat_secondary_cold_boot_setup .weak plat_get_my_entrypoint diff --git a/plat/arm/css/common/css_bl2_setup.c b/plat/arm/css/common/css_bl2_setup.c index c1c7868b..6aefe03a 100644 --- a/plat/arm/css/common/css_bl2_setup.c +++ b/plat/arm/css/common/css_bl2_setup.c @@ -10,8 +10,8 @@ #include #include #include +#include -#include #include #include "../drivers/scp/css_scp.h" diff --git a/plat/arm/css/drivers/mhu/css_mhu.c b/plat/arm/css/drivers/mhu/css_mhu.c index e13818f2..981df9c4 100644 --- a/plat/arm/css/drivers/mhu/css_mhu.c +++ b/plat/arm/css/drivers/mhu/css_mhu.c @@ -12,7 +12,6 @@ #include #include -#include #include #include "css_mhu.h" diff --git a/plat/arm/css/drivers/scp/css_bom_bootloader.c b/plat/arm/css/drivers/scp/css_bom_bootloader.c index 27c9e1d5..ca40c306 100644 --- a/plat/arm/css/drivers/scp/css_bom_bootloader.c +++ b/plat/arm/css/drivers/scp/css_bom_bootloader.c @@ -10,8 +10,7 @@ #include #include #include - -#include +#include #include "../mhu/css_mhu.h" #include "../scpi/css_scpi.h" diff --git a/plat/arm/css/drivers/scp/css_pm_scmi.c b/plat/arm/css/drivers/scp/css_pm_scmi.c index bd6b5953..fa4dd8a8 100644 --- a/plat/arm/css/drivers/scp/css_pm_scmi.c +++ b/plat/arm/css/drivers/scp/css_pm_scmi.c @@ -10,8 +10,8 @@ #include #include #include +#include -#include #include #include diff --git a/plat/arm/css/drivers/scp/css_sds.c b/plat/arm/css/drivers/scp/css_sds.c index c152abca..e3f6102f 100644 --- a/plat/arm/css/drivers/scp/css_sds.c +++ b/plat/arm/css/drivers/scp/css_sds.c @@ -11,8 +11,7 @@ #include #include #include - -#include +#include #include "css_scp.h" #include "../sds/sds.h" diff --git a/plat/arm/css/drivers/scpi/css_scpi.c b/plat/arm/css/drivers/scpi/css_scpi.c index 42bf3b8e..d64bfa26 100644 --- a/plat/arm/css/drivers/scpi/css_scpi.c +++ b/plat/arm/css/drivers/scpi/css_scpi.c @@ -11,8 +11,7 @@ #include #include #include - -#include +#include #include "../mhu/css_mhu.h" #include "css_scpi.h" diff --git a/plat/arm/css/drivers/sds/sds.c b/plat/arm/css/drivers/sds/sds.c index 3eeb0dc4..eb2f48ef 100644 --- a/plat/arm/css/drivers/sds/sds.c +++ b/plat/arm/css/drivers/sds/sds.c @@ -10,8 +10,8 @@ #include #include +#include -#include #include "sds.h" #include "sds_private.h" diff --git a/plat/arm/css/sgi/sgi_plat.c b/plat/arm/css/sgi/sgi_plat.c index 79f3e5b5..387be36b 100644 --- a/plat/arm/css/sgi/sgi_plat.c +++ b/plat/arm/css/sgi/sgi_plat.c @@ -14,8 +14,6 @@ #include #include -#include -#include #include #include "../../../../bl1/bl1_private.h" diff --git a/plat/arm/css/sgm/sgm_mmap_config.c b/plat/arm/css/sgm/sgm_mmap_config.c index a4df9ab1..763f36a8 100644 --- a/plat/arm/css/sgm/sgm_mmap_config.c +++ b/plat/arm/css/sgm/sgm_mmap_config.c @@ -9,7 +9,6 @@ #include #include -#include #include #include diff --git a/plat/arm/soc/common/soc_css_security.c b/plat/arm/soc/common/soc_css_security.c index bbc5dcdc..b48357a6 100644 --- a/plat/arm/soc/common/soc_css_security.c +++ b/plat/arm/soc/common/soc_css_security.c @@ -9,9 +9,7 @@ #include #include -#include #include -#include void soc_css_init_nic400(void) { -- 2.30.2