Include 'platform_def.h' header file in 'crash_reporting.S'
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Tue, 27 May 2014 14:46:07 +0000 (15:46 +0100)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Thu, 5 Jun 2014 11:04:08 +0000 (12:04 +0100)
'crash_reporting.S' needs to include 'platform_def.h' to get the
definition of PLATFORM_CORE_COUNT.

Note: On FVP it was compiling because 'platform_def.h' gets included
through 'plat/fvp/include/plat_macros.S' but we don't want to rely on
that for other platforms.

Change-Id: I51e974776dd0f3bda10ad9849f5ef7b30c629833

bl31/aarch64/crash_reporting.S

index cb9110b5fa72ac9135833b8f6b554db8c2150a16..69b7a1c81c8a64386be1075abb25a15caff50126 100644 (file)
@@ -31,6 +31,7 @@
 #include <asm_macros.S>
 #include <context.h>
 #include <plat_macros.S>
+#include <platform_def.h>
 
        .globl  get_crash_stack
        .globl  dump_state_and_die