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:
committed by
Stefan Reinauer
parent
4fef7818ec
commit
64e2d19082
@@ -39,7 +39,7 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <endian.h>
|
||||
#include <timer.h>
|
||||
#include <tpm.h>
|
||||
#include <security/tpm/tpm.h>
|
||||
#include "tpm.h"
|
||||
|
||||
#define CR50_MAX_BUFSIZE 63
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <endian.h>
|
||||
#include <lib.h>
|
||||
#include <tpm.h>
|
||||
#include <security/tpm/tpm.h>
|
||||
#include "tpm.h"
|
||||
#include <timer.h>
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <endian.h>
|
||||
#include <lib.h>
|
||||
#include <tpm.h>
|
||||
#include <security/tpm/tpm.h>
|
||||
#include <timer.h>
|
||||
|
||||
#define RECV_TIMEOUT (1 * 1000) /* 1 second */
|
||||
|
@@ -38,7 +38,7 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <endian.h>
|
||||
#include <timer.h>
|
||||
#include <tpm.h>
|
||||
#include <security/tpm/tpm.h>
|
||||
#include "tpm.h"
|
||||
|
||||
/* max. number of iterations after I2C NAK */
|
||||
|
@@ -36,7 +36,7 @@
|
||||
#include <stage_cache.h>
|
||||
#include <string.h>
|
||||
#include <timestamp.h>
|
||||
#include <tpm.h>
|
||||
#include <security/tpm/tpm.h>
|
||||
#include <vendorcode/google/chromeos/chromeos.h>
|
||||
|
||||
asmlinkage void *romstage_main(FSP_INFO_HEADER *fih)
|
||||
|
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
|
||||
#include <compiler.h>
|
||||
#include <antirollback.h>
|
||||
#include <security/tpm/antirollback.h>
|
||||
#include <arch/io.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/symbols.h>
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <string.h>
|
||||
#include <symbols.h>
|
||||
#include <timestamp.h>
|
||||
#include <tpm_lite/tlcl.h>
|
||||
#include <security/tpm/tlcl.h>
|
||||
#include <security/vboot/vboot_common.h>
|
||||
#include <vb2_api.h>
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#include <arch/early_variables.h>
|
||||
#include <console/console.h>
|
||||
#include <string.h>
|
||||
#include <tpm.h>
|
||||
#include <security/tpm/tpm.h>
|
||||
|
||||
#include "tpm.h"
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <endian.h>
|
||||
#include <string.h>
|
||||
#include <timer.h>
|
||||
#include <tpm.h>
|
||||
#include <security/tpm/tpm.h>
|
||||
|
||||
#include "tpm.h"
|
||||
|
||||
|
Reference in New Issue
Block a user