plat/arm: Fix header dependencies
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Tue, 15 Jan 2019 14:19:50 +0000 (14:19 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Tue, 15 Jan 2019 14:19:50 +0000 (14:19 +0000)
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 <antonio.ninodiaz@arm.com>
50 files changed:
include/plat/arm/common/arm_def.h
include/plat/arm/common/arm_spm_def.h
include/plat/arm/css/common/css_def.h
plat/arm/board/common/aarch32/board_arm_helpers.S
plat/arm/board/common/aarch64/board_arm_helpers.S
plat/arm/board/common/board_arm_trusted_boot.c
plat/arm/board/fvp/aarch32/fvp_helpers.S
plat/arm/board/fvp/aarch64/fvp_helpers.S
plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c
plat/arm/board/fvp/fvp_bl2_setup.c
plat/arm/board/fvp/fvp_bl2u_setup.c
plat/arm/board/fvp/fvp_common.c
plat/arm/board/fvp/fvp_pm.c
plat/arm/board/fvp/fvp_trusted_boot.c
plat/arm/board/fvp/include/plat_macros.S
plat/arm/board/juno/aarch32/juno_helpers.S
plat/arm/board/juno/aarch64/juno_helpers.S
plat/arm/board/juno/juno_bl1_setup.c
plat/arm/board/juno/juno_common.c
plat/arm/board/juno/juno_err.c
plat/arm/board/juno/juno_security.c
plat/arm/board/juno/juno_stack_protector.c
plat/arm/board/juno/juno_topology.c
plat/arm/board/juno/juno_trng.c
plat/arm/board/juno/juno_tzmp1_def.h
plat/arm/board/n1sdp/include/platform_def.h
plat/arm/board/n1sdp/n1sdp_plat.c
plat/arm/common/arm_bl1_setup.c
plat/arm/common/arm_bl2_el3_setup.c
plat/arm/common/arm_bl2_setup.c
plat/arm/common/arm_bl2u_setup.c
plat/arm/common/arm_bl31_setup.c
plat/arm/common/arm_gicv3.c
plat/arm/common/arm_image_load.c
plat/arm/common/arm_pm.c
plat/arm/common/arm_tzc400.c
plat/arm/common/arm_tzc_dmc500.c
plat/arm/common/tsp/arm_tsp_setup.c
plat/arm/css/common/aarch32/css_helpers.S
plat/arm/css/common/aarch64/css_helpers.S
plat/arm/css/common/css_bl2_setup.c
plat/arm/css/drivers/mhu/css_mhu.c
plat/arm/css/drivers/scp/css_bom_bootloader.c
plat/arm/css/drivers/scp/css_pm_scmi.c
plat/arm/css/drivers/scp/css_sds.c
plat/arm/css/drivers/scpi/css_scpi.c
plat/arm/css/drivers/sds/sds.c
plat/arm/css/sgi/sgi_plat.c
plat/arm/css/sgm/sgm_mmap_config.c
plat/arm/soc/common/soc_css_security.c

index 4e9c70aa10626b271c556c01a362144ef67f58fb..e27dd80eaa82660048b1456a932dba39fa840b19 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef ARM_DEF_H
 #define ARM_DEF_H
 
-#include <platform_def.h>
-
 #include <arch.h>
 #include <common/interrupt_props.h>
 #include <common/tbbr/tbbr_img_def.h>
index bdcbc96aff31d5eecd7dfab0c7740fb7d839bf36..1c6f6e73d33ba24628f4876fc346060938fdf18e 100644 (file)
@@ -9,8 +9,6 @@
 #include <lib/utils_def.h>
 #include <lib/xlat_tables/xlat_tables_defs.h>
 
-#include <arm_def.h>
-
 /*
  * Reserve 4 MiB for binaries of Secure Partitions and Resource Description
  * blobs.
index 6b355a4e9e6fdcbcbf2d4ac4b3a6c8e60f16c98e..575db04f4067fc5f05647b3358a064eec8dbde32 100644 (file)
@@ -11,8 +11,6 @@
 #include <drivers/arm/gic_common.h>
 #include <drivers/arm/tzc400.h>
 
-#include <arm_def.h>
-
 /*************************************************************************
  * Definitions common to all ARM Compute SubSystems (CSS)
  *************************************************************************/
index 320bfb3c349e1e20b7a0bef854d45ebc32ab73b8..8c636933453718feb37f744446fd1c19e9bd4e72 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <asm_macros.S>
 #include <common/bl_common.h>
-#include <v2m_def.h>
+#include <platform_def.h>
 
        .globl  plat_report_exception
 
index 5a905244f48bf653bee913a0715e96ddc782f403..cde6b007c12d728ee8b1593b72b208724501f7ed 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <asm_macros.S>
 #include <common/bl_common.h>
-#include <v2m_def.h>
+#include <platform_def.h>
 
        .globl  plat_report_exception
 
index 64ca3c36d8c705e969ed3e939252ca8709624f75..e3c6805ac66d26514732a21d4305beafb2ba8387 100644 (file)
@@ -11,8 +11,7 @@
 #include <lib/cassert.h>
 #include <plat/common/platform.h>
 #include <tools_share/tbbr_oid.h>
-
-#include <arm_def.h>
+#include <platform_def.h>
 
 /* SHA256 algorithm */
 #define SHA256_BYTES                   32
index 5d88546986f658f0193c96b4be7c8509b6d6bc26..f68955753c37e7b54161471b6c15b34f78f665a3 100644 (file)
@@ -7,8 +7,8 @@
 #include <arch.h>
 #include <asm_macros.S>
 #include <platform_def.h>
+
 #include "../drivers/pwrc/fvp_pwrc.h"
-#include "../fvp_def.h"
 
        .globl  plat_secondary_cold_boot_setup
        .globl  plat_get_my_entrypoint
index 0f905151b4ae5860e77cf0a2e9943914999f8ef7..02a3c7c9933b2a0b9e9c2d0775c1ceae68f342fa 100644 (file)
@@ -9,9 +9,8 @@
 #include <drivers/arm/gicv2.h>
 #include <drivers/arm/gicv3.h>
 #include <platform_def.h>
-#include <v2m_def.h>
+
 #include "../drivers/pwrc/fvp_pwrc.h"
-#include "../fvp_def.h"
 
        .globl  plat_secondary_cold_boot_setup
        .globl  plat_get_my_entrypoint
index c48bb07a3ac506b070f693fd913cdae1340a752f..cae9827c30ad032eb87be9a3125439ac637a1bc6 100644 (file)
@@ -6,10 +6,9 @@
 
 #include <lib/bakery_lock.h>
 #include <lib/mmio.h>
+#include <platform_def.h>
 
 #include <plat_arm.h>
-
-#include "../../fvp_def.h"
 #include "../../fvp_private.h"
 #include "fvp_pwrc.h"
 
index 13e74fd9a3a6b1cece1d9caed9502f5eafd4f962..7aa620b1aba862cf8e564307a1fabebd5d7f8837 100644 (file)
@@ -8,10 +8,9 @@
 #include <drivers/generic_delay_timer.h>
 #include <lib/mmio.h>
 #include <plat/common/platform.h>
+#include <platform_def.h>
 
 #include <plat_arm.h>
-#include <v2m_def.h>
-#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)
index c51e287f613d39f18a16b7f5f2960d4c42b4592e..6367be626cccd4db8c93f81cbe0e5e5360875bdd 100644 (file)
@@ -5,9 +5,9 @@
  */
 
 #include <plat/common/platform.h>
+#include <platform_def.h>
 
 #include <plat_arm.h>
-#include "fvp_def.h"
 #include "fvp_private.h"
 
 void bl2u_early_platform_setup(struct meminfo *mem_layout, void *plat_info)
index 31a61de4e7aee40d63c7cbbd1911b16009a7c2ec..1a27fc469e5f936c8e39a66278472ff7207429a6 100644 (file)
 #include <lib/mmio.h>
 #include <lib/xlat_tables/xlat_tables_compat.h>
 #include <plat/common/platform.h>
+#include <platform_def.h>
 #include <services/secure_partition.h>
 
 #include <arm_config.h>
-#include <arm_def.h>
-#include <arm_spm_def.h>
 #include <plat_arm.h>
-#include <v2m_def.h>
 
-#include "../fvp_def.h"
 #include "fvp_private.h"
 
 /* Defines for GIC Driver build time selection */
index 7da246bd60953e1ef65271ffcf9bf322d6c52b3a..8ba828155c5c93339d5387b0492330ece962550a 100644 (file)
 #include <lib/mmio.h>
 #include <lib/psci/psci.h>
 #include <plat/common/platform.h>
+#include <platform_def.h>
 
 #include <arm_config.h>
 #include <plat_arm.h>
-#include <v2m_def.h>
 
 #include "../../../../drivers/arm/gic/v3/gicv3_private.h"
 #include "drivers/pwrc/fvp_pwrc.h"
-#include "fvp_def.h"
 #include "fvp_private.h"
 
 
index c18bfb21375eaae841243fdeb92cc284a58df976..0d160cb1ddad33c1aca33cfec406db98d1db2ba9 100644 (file)
@@ -9,10 +9,9 @@
 #include <string.h>
 
 #include <plat/common/platform.h>
+#include <platform_def.h>
 #include <tools_share/tbbr_oid.h>
 
-#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
index 6be8b093f6682ef4da7bd65525e5104c06690458..57f59248eaf6ef975bac969e1346c3fcd92d4fdf 100644 (file)
@@ -7,8 +7,7 @@
 #define PLAT_MACROS_S
 
 #include <arm_macros.S>
-#include <v2m_def.h>
-#include "../fvp_def.h"
+#include <platform_def.h>
 
        /* ---------------------------------------------
         * The below required platform porting macro
index 080a8ddcc5b9f9187baaadb4e22609a2241bb6d4..8f9561c895c0912e8e5d2acb894a834fde368655 100644 (file)
@@ -11,9 +11,7 @@
 #include <cortex_a57.h>
 #include <cortex_a72.h>
 #include <cpu_macros.S>
-#include <v2m_def.h>
-#include "../juno_def.h"
-
+#include <platform_def.h>
 
        .globl  plat_reset_handler
        .globl  plat_arm_calc_core_pos
index 373f2fc89385c194a4705d7dbca88c6c6c678657..c94fa3eadba22af0e5c25306b47b2d86981066ea 100644 (file)
 #include <cortex_a57.h>
 #include <cortex_a72.h>
 #include <cpu_macros.S>
-#include <css_def.h>
-#include <v2m_def.h>
-#include "../juno_def.h"
-
+#include <platform_def.h>
 
        .globl  plat_reset_handler
        .globl  plat_arm_calc_core_pos
index e751ab69c368d388cb8fdc0a75582835b9ad6d7b..383409df0c481a2678223f11ed994989777f3b34 100644 (file)
 #include <common/tbbr/tbbr_img_def.h>
 #include <drivers/arm/sp805.h>
 #include <plat/common/platform.h>
+#include <platform_def.h>
 
 #include <plat_arm.h>
 #include <sds.h>
-#include <v2m_def.h>
 
 void juno_reset_to_aarch32_state(void);
 
index 2e6b01134f7dc6e55bbe4bcde0397e55d895243e..e13410836c14e94f11d9a94fc387518041c289f4 100644 (file)
@@ -3,7 +3,8 @@
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
-#include <arm_def.h>
+
+#include <platform_def.h>
 #include <plat_arm.h>
 
 /*
index 69daa1ae0e5e5cca724502422ee3baf986e1c732..f80ff24525b7e3879e41684b002d02f74bb2280b 100644 (file)
@@ -8,8 +8,7 @@
 
 #include <arch_helpers.h>
 #include <plat/common/platform.h>
-
-#include <v2m_def.h>
+#include <platform_def.h>
 
 /*
  * Juno error handler
index b0df837912d681794a5ba6c7dc9c064ee4c2db40..51c8669a8ea8d973b481a9b859a7ff05ebb74571 100644 (file)
@@ -7,10 +7,10 @@
 #include <common/debug.h>
 #include <drivers/arm/nic_400.h>
 #include <lib/mmio.h>
+#include <platform_def.h>
 
 #include <plat_arm.h>
 #include <soc_css.h>
-#include "juno_def.h"
 #include "juno_tzmp1_def.h"
 
 #ifdef JUNO_TZMP1
index ff05b5d468882010796a185749fe610b17367473..236eb5ba37d2582345d72cb88faa4f9dd904d2b5 100644 (file)
@@ -7,9 +7,9 @@
 #include <arch_helpers.h>
 #include <common/debug.h>
 #include <lib/utils.h>
+#include <platform_def.h>
 
 #include "juno_decl.h"
-#include "juno_def.h"
 
 u_register_t plat_get_stack_protector_canary(void)
 {
index 51b99aca7f883a76fb92ef7a0d730f7e4f4c139b..e70cbdcb02d2edfedc1a433e115b65e0af73a8e7 100644 (file)
@@ -5,11 +5,10 @@
  */
 
 #include <plat/common/platform.h>
+#include <platform_def.h>
 
-#include <arm_def.h>
 #include <css_pm.h>
 #include <plat_arm.h>
-#include "juno_def.h"
 #include "../../css/drivers/scmi/scmi.h"
 #include "../../css/drivers/mhu/css_mhu_doorbell.h"
 
index 505fb02667aa7206f8b6cd3aeb47890c887e64a7..7869d3e3352b954ad7ab4966c88fef89b9e7d09e 100644 (file)
@@ -9,9 +9,9 @@
 
 #include <lib/mmio.h>
 #include <lib/utils_def.h>
+#include <platform_def.h>
 
 #include "juno_decl.h"
-#include "juno_def.h"
 
 #define NSAMPLE_CLOCKS 1 /* min 1 cycle, max 231 cycles */
 #define NRETRIES       5
index 5d0978c9c05c69f9dce4547cd1a6802a347f9ffa..4186d02dc153fdfce844e73ec57a7ada3ce0e59e 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef JUNO_TZMP1_DEF_H
 #define JUNO_TZMP1_DEF_H
 
-#include <plat_arm.h>
-
 /*
  * Public memory regions for both protected and non-protected mode
  *
index 1556ac7678922daf7318e48724aebdad4ae37e59..68d0f936c9ca0be3e6ff50548c27dd552c243fd6 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <arm_def.h>
 #include <css_def.h>
+#include <v2m_def.h>
 
 /* UART related constants */
 #define PLAT_ARM_BOOT_UART_BASE                        0x2A400000
index 3bf1fe6c24862564705d744511b8a498e798641a..87e15110894d1ccb131de0aab98c0f628efedee5 100644 (file)
@@ -10,7 +10,6 @@
 #include <common/debug.h>
 #include <plat/common/platform.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 /*
index e28211cfa7e86db32eac499136664e51151b6bc1..73fee607f0633ad6a42bfaf005cba1f74989bb6a 100644 (file)
@@ -16,7 +16,6 @@
 #include <lib/xlat_tables/xlat_tables_compat.h>
 #include <plat/common/platform.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 #include "../../../bl1/bl1_private.h"
index 0c1f63ed4157d8269092528c8170d9c822a24a23..c38f2ec94923ad57d767588333f1a0d32363c767 100644 (file)
@@ -8,8 +8,8 @@
 
 #include <drivers/generic_delay_timer.h>
 #include <plat/common/platform.h>
+#include <platform_def.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 #pragma weak bl2_el3_early_platform_setup
index 9319004eae5fb55c067992914c706dd2a76767e7..b661eb15afd82499421e6025cb26287aa14b2ad7 100644 (file)
@@ -20,7 +20,6 @@
 #include <lib/utils.h>
 #include <plat/common/platform.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 /* Data structure which holds the extents of the trusted SRAM for BL2 */
index 0dc66e647ec1e3f83579bd07dcadf61a633c8a38..332ed14cf123cd1454d963a776d6b1814235f41e 100644 (file)
@@ -14,7 +14,6 @@
 #include <drivers/generic_delay_timer.h>
 #include <plat/common/platform.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 /* Weak definitions may be overridden in specific ARM standard platform */
index 41151c2c8286188016de414d4804e44fb72d4edf..dacefc457b0ec6bf3ec951feb84399221e77245f 100644 (file)
@@ -16,8 +16,8 @@
 #include <lib/utils.h>
 #include <lib/xlat_tables/xlat_tables_compat.h>
 #include <plat/common/platform.h>
+#include <platform_def.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 /*
index 0f6690a0b9dfbb8fa939c127077e6200afa81f19..e3cee3afd21a1deb49eded46994c5e58886bf049 100644 (file)
@@ -11,7 +11,6 @@
 #include <lib/utils.h>
 #include <plat/common/platform.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 /******************************************************************************
index 791f05ed705978ba736359c79917ec852084172b..bf1fbfd416f0611f5dd3b4631a98e381484687e1 100644 (file)
@@ -8,7 +8,6 @@
 #include <common/desc_image_load.h>
 #include <plat/common/platform.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 #pragma weak plat_flush_next_bl_params
index acfd9089955af64ebaa7229f180d35f91fa95780..4ce13aa6ab06bf403fc3436ddca8aeaa7f482639 100644 (file)
@@ -13,7 +13,6 @@
 #include <lib/psci/psci.h>
 #include <plat/common/platform.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 /* Allow ARM Standard platforms to override these functions */
index 0346fa1845d088f364a1cd39d44b8c5001a6bef7..322713b5f8c8053effa78c74130d6f9f94042eac 100644 (file)
@@ -9,8 +9,6 @@
 #include <common/debug.h>
 #include <drivers/arm/tzc400.h>
 
-#include <arm_def.h>
-#include <arm_spm_def.h>
 #include <plat_arm.h>
 
 /* Weak definitions may be overridden in specific ARM standard platform */
index bea3867d37536d1b1f088bd7f22c4a6ed476f971..07260a7e9b5b5b27e3dca74c74e6d69ac4cc11ca 100644 (file)
@@ -11,7 +11,6 @@
 #include <common/debug.h>
 #include <drivers/arm/tzc_dmc500.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 /*******************************************************************************
index a3d2f7157cae67872adae1c3bcc43423482cc006..0f2827db1c80d85843bb604a48e5152227664f57 100644 (file)
@@ -14,7 +14,6 @@
 #include <drivers/arm/pl011.h>
 #include <drivers/console.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 
 #define BL32_END (unsigned long)(&__BL32_END__)
index 80aa24c62887262d34e16bf59a2725428e5137df..d47e13daf50b0df53a00b597e05f9dcfbb152dc0 100644 (file)
@@ -3,10 +3,11 @@
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
+
 #include <arch.h>
 #include <asm_macros.S>
 #include <cpu_macros.S>
-#include <css_def.h>
+#include <platform_def.h>
 
        .weak   plat_secondary_cold_boot_setup
        .weak   plat_get_my_entrypoint
index 5096d8d957118233c221e87ccdfc0bc3d075afa7..01669be6ebcac2e36785f7d5fb22d7f1e4c7c7db 100644 (file)
@@ -3,10 +3,11 @@
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
+
 #include <arch.h>
 #include <asm_macros.S>
 #include <cpu_macros.S>
-#include <css_def.h>
+#include <platform_def.h>
 
        .weak   plat_secondary_cold_boot_setup
        .weak   plat_get_my_entrypoint
index c1c7868b8b2198a87168a8aa9a44b604befd36d9..6aefe03a7b03a1b6b503f9aabc7b7de1bb994541 100644 (file)
@@ -10,8 +10,8 @@
 #include <common/debug.h>
 #include <lib/mmio.h>
 #include <lib/utils.h>
+#include <platform_def.h>
 
-#include <css_def.h>
 #include <plat_arm.h>
 
 #include "../drivers/scp/css_scp.h"
index e13818f2996f3c38e5ae122c368195843325d678..981df9c4327fabbfb77ded1ba1545c4b8674c9a2 100644 (file)
@@ -12,7 +12,6 @@
 #include <lib/bakery_lock.h>
 #include <lib/mmio.h>
 
-#include <css_def.h>
 #include <plat_arm.h>
 
 #include "css_mhu.h"
index 27c9e1d50fb6b8e08aadcb81e090974dd3449062..ca40c30662565804949c971dffe8ad9e71a46966 100644 (file)
@@ -10,8 +10,7 @@
 #include <arch_helpers.h>
 #include <common/debug.h>
 #include <plat/common/platform.h>
-
-#include <css_def.h>
+#include <platform_def.h>
 
 #include "../mhu/css_mhu.h"
 #include "../scpi/css_scpi.h"
index bd6b5953203e7c6f8278b501e1b0e3473316d27a..fa4dd8a886fcee48af3aeb9e6f0f4ff4033f2e38 100644 (file)
@@ -10,8 +10,8 @@
 #include <arch_helpers.h>
 #include <common/debug.h>
 #include <plat/common/platform.h>
+#include <platform_def.h>
 
-#include <css_def.h>
 #include <css_pm.h>
 #include <plat_arm.h>
 
index c152abca08228ff19515b63b8fc65349619b6923..e3f6102fa49a03b7580308a75e9cfa7a5b28c390 100644 (file)
@@ -11,8 +11,7 @@
 #include <common/debug.h>
 #include <drivers/delay_timer.h>
 #include <plat/common/platform.h>
-
-#include <css_def.h>
+#include <platform_def.h>
 
 #include "css_scp.h"
 #include "../sds/sds.h"
index 42bf3b8e0079fc5d1b63d65ed36d0bee50caf9f6..d64bfa2679af50dba8d382a7c74420cb30c47ad3 100644 (file)
@@ -11,8 +11,7 @@
 #include <common/debug.h>
 #include <lib/utils.h>
 #include <plat/common/platform.h>
-
-#include <css_def.h>
+#include <platform_def.h>
 
 #include "../mhu/css_mhu.h"
 #include "css_scpi.h"
index 3eeb0dc4df424a30de9aeab83273d701296944a1..eb2f48ef74c68bd4fb80a8f6353d72e8ea81ae52 100644 (file)
@@ -10,8 +10,8 @@
 
 #include <arch_helpers.h>
 #include <common/debug.h>
+#include <platform_def.h>
 
-#include <css_def.h>
 #include "sds.h"
 #include "sds_private.h"
 
index 79f3e5b55d0c11da0d2ca0b0180879bec0577fc1..387be36baafdee3a3fe0e7554d6afd9a94d2c346 100644 (file)
@@ -14,8 +14,6 @@
 #include <plat/common/platform.h>
 #include <services/secure_partition.h>
 
-#include <arm_def.h>
-#include <arm_spm_def.h>
 #include <plat_arm.h>
 #include "../../../../bl1/bl1_private.h"
 
index a4df9ab19afa20342fb047a3ad555631d7226f5e..763f36a82f095a64c3e4cff017c35d25a2365d78 100644 (file)
@@ -9,7 +9,6 @@
 #include <common/bl_common.h>
 #include <common/debug.h>
 
-#include <arm_def.h>
 #include <plat_arm.h>
 #include <sgm_variant.h>
 
index bbc5dcdc553edc8b21aa4d732e11c2f676d3e9ec..b48357a6fca52733fae2c63ce65da7415820128e 100644 (file)
@@ -9,9 +9,7 @@
 #include <drivers/arm/nic_400.h>
 #include <lib/mmio.h>
 
-#include <board_css_def.h>
 #include <soc_css.h>
-#include <soc_css_def.h>
 
 void soc_css_init_nic400(void)
 {