From 64e2d19082636de9e82674ccfca574269bb34712 Mon Sep 17 00:00:00 2001 From: Philipp Deppenwiese Date: Wed, 18 Oct 2017 17:13:07 +0200 Subject: security/tpm: Move tpm TSS and TSPI layer to security section * Move code from src/lib and src/include into src/security/tpm * Split TPM TSS 1.2 and 2.0 * Fix header includes * Add a new directory structure with kconfig and makefile includes Change-Id: Id15a9aa6bd367560318dfcfd450bf5626ea0ec2b Signed-off-by: Philipp Deppenwiese Reviewed-on: https://review.coreboot.org/22103 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/drivers/pc80/tpm/Kconfig | 6 ------ src/drivers/pc80/tpm/romstage.c | 2 +- src/drivers/pc80/tpm/tpm.c | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) (limited to 'src/drivers/pc80/tpm') diff --git a/src/drivers/pc80/tpm/Kconfig b/src/drivers/pc80/tpm/Kconfig index f32071cf7d..3bd9083802 100644 --- a/src/drivers/pc80/tpm/Kconfig +++ b/src/drivers/pc80/tpm/Kconfig @@ -1,9 +1,3 @@ -config MAINBOARD_HAS_LPC_TPM - bool - default n - help - Board has TPM support - config LPC_TPM bool "Enable TPM support" depends on MAINBOARD_HAS_LPC_TPM diff --git a/src/drivers/pc80/tpm/romstage.c b/src/drivers/pc80/tpm/romstage.c index 5531458726..20413d8cf4 100644 --- a/src/drivers/pc80/tpm/romstage.c +++ b/src/drivers/pc80/tpm/romstage.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include //#define EXTRA_LOGGING diff --git a/src/drivers/pc80/tpm/tpm.c b/src/drivers/pc80/tpm/tpm.c index 574d3af6ff..8f1c5df0aa 100644 --- a/src/drivers/pc80/tpm/tpm.c +++ b/src/drivers/pc80/tpm/tpm.c @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include "chip.h" -- cgit v1.2.3