Interface: Introduce framework feature availability

Discovering framework feature availability is required by FF-M v1.1.
It's provided in a new header psa/framework_feature.h.

As the framework features are usually coupled to build configurations,
this patch adds a framework_feature.h.in to let build system generate
the framework_feature.h base on build configurations.

This patch also fixes the TFM_ISOLATION_LEVEL validation to limit it
to [1, 2, 3] only.

Change-Id: I8b0d8e14a244f53dfd02b8e7b5da5aa57ca99077
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
6 files changed