summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@arm.com>2018-03-10 19:12:28 +0530
committerSughosh Ganu <sughosh.ganu@arm.com>2018-07-26 21:52:38 +0530
commit46b69e3de1b7817f4d8ed46fe1975f4bf630f0ec (patch)
tree59bf99c2a297eb2d8e99e596acda3a1392f3face
parent60e062fb0e33f7d9825267cbfb397d7c7aca1169 (diff)
downloadarm-trusted-firmware-46b69e3de1b7817f4d8ed46fe1975f4bf630f0ec.tar.gz
Include board_arm_def.h through the platform's header
The board_arm_def.h header file needs to be included via the platform definition header. Not doing so, results in a redefinition error of PLAT_ARM_MAX_BL31_SIZE macro, if defined in the platform definition file. Change-Id: I1d178f6e8a6a41461e7fbcab9f6813a2faa2d82b Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
-rw-r--r--plat/arm/common/arm_err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/arm/common/arm_err.c b/plat/arm/common/arm_err.c
index 59c586181..66568e7dc 100644
--- a/plat/arm/common/arm_err.c
+++ b/plat/arm/common/arm_err.c
@@ -5,12 +5,12 @@
*/
#include <arch_helpers.h>
-#include <board_arm_def.h>
#include <console.h>
#include <debug.h>
#include <errno.h>
#include <norflash.h>
#include <platform.h>
+#include <platform_def.h>
#include <stdint.h>
/*