Add support to build (and run) an image with Measured Boot and fTPM support.
This patch enables Measured Boot on TF-A and builds the TSS tools
and the TPM Kernel Module for the FVP toolkit.
The functionality is disabled by default. To enable it, build with
MEASURED_BOOT=y.
Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
diff --git a/br-ext/package/linux_ftpm_mod_ext/Config.in b/br-ext/package/linux_ftpm_mod_ext/Config.in
new file mode 100644
index 0000000..02d40d5
--- /dev/null
+++ b/br-ext/package/linux_ftpm_mod_ext/Config.in
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_LINUX_FTPM_MOD_EXT
+ bool "Enable TPM Kernel module"
+ help
+ Enable TPM Kernel module.
+ NOTE: This package currently only takes care of installing files
+ into the root FS, that have been compiled already.
+ The build of the TPM Kernel module is assumed to have been done
+ previously.
+
+config BR2_PACKAGE_LINUX_FTPM_MOD_EXT_SITE
+ string "TPM Kernel Module installation package path"
+ default ""
+ help
+ The path to this installation package.
+
+config BR2_PACKAGE_LINUX_FTPM_MOD_EXT_PATH
+ string "Path to the TPM Kernel module"
+ default ""
+ help
+ The path of the TPM Kernel sources.