Include board_arm_def.h through the platform's header
authorSughosh Ganu <[email protected]>
Sat, 10 Mar 2018 13:42:28 +0000 (19:12 +0530)
committerSughosh Ganu <[email protected]>
Thu, 26 Jul 2018 16:22:38 +0000 (21:52 +0530)
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 <[email protected]>
plat/arm/common/arm_err.c

index 59c58618152ed668345ccbebce47fbc623d4d9c7..66568e7dc77160b51d6140beb38d19202fa4c09b 100644 (file)
@@ -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>
 
 /*