Commit 91ecca23 authored by Olivier Deprez's avatar Olivier Deprez Committed by TrustedFirmware Code Review
Browse files

Merge changes from topic "spm-devel" into integration

* changes:
  spm-mm: Rename aarch64 assembly files
  spm-mm: Rename source files
  spm-mm: Rename spm_shim_private.h
  spm-mm: Rename spm_private.h
  spm-mm: Rename component makefile
  spm-mm: Remove mm_svc.h header
  spm-mm: Refactor spm_svc.h and its contents
  spm-mm: Refactor secure_partition.h and its contents
  spm: Remove SPM Alpha 1 prototype and support files
  Remove dependency between SPM_MM and ENABLE_SPM build flags
parents b8e17967 99c69109
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <lib/psci/psci.h> #include <lib/psci/psci.h>
#include <lib/runtime_instr.h> #include <lib/runtime_instr.h>
#include <services/sdei.h> #include <services/sdei.h>
#include <services/spm_svc.h> #include <services/spm_mm_svc.h>
#include <services/std_svc.h> #include <services/std_svc.h>
#include <smccc_helpers.h> #include <smccc_helpers.h>
#include <tools_share/uuid.h> #include <tools_share/uuid.h>
...@@ -45,8 +45,8 @@ static int32_t std_svc_setup(void) ...@@ -45,8 +45,8 @@ static int32_t std_svc_setup(void)
ret = 1; ret = 1;
} }
#if ENABLE_SPM #if SPM_MM
if (spm_setup() != 0) { if (spm_mm_setup() != 0) {
ret = 1; ret = 1;
} }
#endif #endif
...@@ -103,14 +103,14 @@ static uintptr_t std_svc_smc_handler(uint32_t smc_fid, ...@@ -103,14 +103,14 @@ static uintptr_t std_svc_smc_handler(uint32_t smc_fid,
SMC_RET1(handle, ret); SMC_RET1(handle, ret);
} }
#if ENABLE_SPM && SPM_MM #if SPM_MM
/* /*
* Dispatch SPM calls to SPM SMC handler and return its return * Dispatch SPM calls to SPM SMC handler and return its return
* value * value
*/ */
if (is_spm_fid(smc_fid)) { if (is_spm_mm_fid(smc_fid)) {
return spm_smc_handler(smc_fid, x1, x2, x3, x4, cookie, return spm_mm_smc_handler(smc_fid, x1, x2, x3, x4, cookie,
handle, flags); handle, flags);
} }
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment