Platform: Set PPC privilege based on RoT flags

Set 'privileged' attribute of PPC of peripherals used by secure
partitions based on Partition flags (e.g. App RoT / PSA RoT).

Change-Id: I2baf3a24f7c8c614630d3bc2f9e2fd24c6f46975
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/secure_fw/spm/spm_api_func.c b/secure_fw/spm/spm_api_func.c
index 45059d1..be71ec9 100644
--- a/secure_fw/spm/spm_api_func.c
+++ b/secure_fw/spm/spm_api_func.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
+ * Copyright (c) 2018-2020, Arm Limited. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  *
@@ -58,7 +58,7 @@
         platform_data_p = part->platform_data_list;
         if (platform_data_p != NULL) {
             while ((*platform_data_p) != NULL) {
-                tfm_spm_hal_configure_default_isolation(*platform_data_p);
+                tfm_spm_hal_configure_default_isolation(idx, *platform_data_p);
                 ++platform_data_p;
             }
         }