From 7706a04c603474400234cc72a27a61070845eca2 Mon Sep 17 00:00:00 2001 From: Christian Walter Date: Fri, 5 Jul 2019 19:46:30 +0200 Subject: drivers/crb: Add CRB driver for TPM2 support Add the Command Response Buffer which is defined in the TPM 2.0 Specs. CRB can be specified with MAINBOARD_HAS_CRB_TPM, even though it is actually SoC/SB specific. Change-Id: I477e45963fe3cdbc02cda9ae99c19142747e4b46 Signed-off-by: Christian Walter Reviewed-on: https://review.coreboot.org/c/coreboot/+/34106 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese --- src/drivers/crb/Kconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/drivers/crb/Kconfig (limited to 'src/drivers/crb/Kconfig') diff --git a/src/drivers/crb/Kconfig b/src/drivers/crb/Kconfig new file mode 100644 index 0000000000..bfd8be06d6 --- /dev/null +++ b/src/drivers/crb/Kconfig @@ -0,0 +1,17 @@ +config CRB_TPM + bool + help + CRB TPM driver is enabled! + +config CRB_TPM_BASE_ADDRESS + hex + default 0xfed40000 + help + Base Address of the CRB TPM Command Structure + +config MAINBOARD_HAS_CRB_TPM + bool + default n + select CRB_TPM + help + Mainboard has Command Response Buffer support -- cgit v1.2.3