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 <zaolin@das-labor.org>
Reviewed-on: https://review.coreboot.org/22103
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Philipp Deppenwiese 2017-10-18 17:13:07 +02:00 committed by Stefan Reinauer
commit 64e2d19082
51 changed files with 126 additions and 107 deletions

View file

@ -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

View file

@ -17,7 +17,7 @@
#include <console/cbmem_console.h>
#include <console/console.h>
#include <arch/acpi.h>
#include <tpm.h>
#include <security/tpm/tpm.h>
#include <reset.h>
//#define EXTRA_LOGGING

View file

@ -32,7 +32,7 @@
#include <arch/acpi_device.h>
#include <device/device.h>
#include <console/console.h>
#include <tpm.h>
#include <security/tpm/tpm.h>
#include <arch/early_variables.h>
#include <device/pnp.h>
#include "chip.h"