SPM: Use partition static data from data section

- Use partition and service static data from the dedicated
  partition static info data section instead of from the
  statically defined arrays.
- Adopt macros to retrieve flags since several flags are combined
  together.

Change-Id: Icc30b9f34a6f0c3c5379235e9d17603237440948
Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
diff --git a/secure_fw/spm/ffm/tfm_boot_data.c b/secure_fw/spm/ffm/tfm_boot_data.c
index 8003f21..d3bb96d 100644
--- a/secure_fw/spm/ffm/tfm_boot_data.c
+++ b/secure_fw/spm/ffm/tfm_boot_data.c
@@ -21,6 +21,7 @@
 #include "tfm_wait.h"
 #include "tfm_spm_hal.h"
 #include "spm_ipc.h"
+#include "load/partition_defs.h"
 #else
 #include "spm_func.h"
 #endif