SPM: Deprecate the current implementation
The current SPM is a prototype that only supports one secure partition
in EL0. The objective of SPM is to have multiple partitions. The current
MM interface isn't adequate for this, so it is needed to modify heavily
the code to add proper support for it.

However, there are platforms which are already using this (like SGI) and
removing the code would break it.  For this reason, the current SPM code
has been duplicated in order to temporarily preserve compatibility. All
new improvements/changes to SPM will be done in the non-deprecated copy,
that may change without notice.

The new build option SPM_DEPRECATED has been introduced to select the SPM
implementation. It defaults to 1, that selects the deprecated SPM.

Change-Id: Ic9f80b53b450e97b4d3f47e4ef4a138ee8d87443
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent 73f45ba commit 2d7b9e5e7fde47be6e312a903f127964596bb85e
@Antonio Nino Diaz Antonio Nino Diaz authored on 30 Oct 2018
Showing 11 changed files
View
Makefile
View
bl31/bl31.mk
View
make_helpers/defaults.mk
View
services/std_svc/spm_deprecated/aarch64/spm_helpers.S 0 → 100644
View
services/std_svc/spm_deprecated/aarch64/spm_shim_exceptions.S 0 → 100644
View
services/std_svc/spm_deprecated/sp_setup.c 0 → 100644
View
services/std_svc/spm_deprecated/sp_xlat.c 0 → 100644
View
services/std_svc/spm_deprecated/spm.mk 0 → 100644
View
services/std_svc/spm_deprecated/spm_main.c 0 → 100644
View
services/std_svc/spm_deprecated/spm_private.h 0 → 100644
View
services/std_svc/spm_deprecated/spm_shim_private.h 0 → 100644