SPM: Remove ARM platforms header from SPM common code
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Fri, 24 Nov 2017 16:43:15 +0000 (16:43 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 6 Dec 2017 09:52:01 +0000 (09:52 +0000)
Common code mustn't include ARM platforms headers.

Change-Id: Ib6e4f5a77c2d095e6e8c3ad89c89cb1959cd3043
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
plat/arm/board/fvp/include/platform_def.h
services/std_svc/spm/secure_partition_setup.c

index 310db7b62ba9e0e64a9671bb993c010539d9ddf5..7080fc302e6e72997656c7c539c64b1a29eea747 100644 (file)
@@ -8,6 +8,7 @@
 #define __PLATFORM_DEF_H__
 
 #include <arm_def.h>
+#include <arm_spm_def.h>
 #include <board_arm_def.h>
 #include <common_def.h>
 #include <tzc400.h>
index 6f4b0571366f31d337c3a53ca86a535693562547..30a82e1d8d0810b103c1c7e5338379ab5b1d9420 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <arch.h>
 #include <arch_helpers.h>
-#include <arm_spm_def.h>
 #include <assert.h>
 #include <common_def.h>
 #include <context.h>