From 2f370465241c85b2fe38a1eb69b457b9fed97207 Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Mon, 23 Apr 2018 15:43:29 +0100 Subject: Add support for the SMC Calling Convention 2.0 Due to differences in the bitfields of the SMC IDs, it is not possible to support SMCCC 1.X and 2.0 at the same time. The behaviour of `SMCCC_MAJOR_VERSION` has changed. Now, it is a build option that specifies the major version of the SMCCC that the Trusted Firmware supports. The only two allowed values are 1 and 2, and it defaults to 1. The value of `SMCCC_MINOR_VERSION` is derived from it. Note: Support for SMCCC v2.0 is an experimental feature to enable prototyping of secure partition specifications. Support for this convention is disabled by default and could be removed without notice. Change-Id: I88abf9ccf08e9c66a13ce55c890edea54d9f16a7 Signed-off-by: Antonio Nino Diaz --- make_helpers/defaults.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'make_helpers') diff --git a/make_helpers/defaults.mk b/make_helpers/defaults.mk index 77eb157c..9e95cd5a 100644 --- a/make_helpers/defaults.mk +++ b/make_helpers/defaults.mk @@ -133,6 +133,9 @@ SDEI_SUPPORT := 0 # platform Makefile is free to override this value. SEPARATE_CODE_AND_RODATA := 0 +# Default to SMCCC Version 1.X +SMCCC_MAJOR_VERSION := 1 + # SPD choice SPD := none -- cgit v1.2.3