coreboot/src
Subrata Banik 0f90c5d5f9 security/tpm: Retrieve factory configuration for device w/ Google TPM
This patch enables retrieval of factory configuration data from
Google TPM devices (both Cr50 and Ti50).

This patch utilizes vendor-specific command
TPM2_CR50_SUB_CMD_GET_FACTORY_CONFIG (68).

The factory config space is a 64-bit, one-time programmable.
For the unprovisioned one, the read will be 0x0.

BUG=b:317880956
TEST=Able to retrieve the factory config from google/screebo.

Change-Id: Ifd0e850770152a03aa46d7f8bbb76f7520a59081
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79736
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-12-31 03:18:42 +00:00
..
acpi x86: Separate CPU and SoC physical address size 2023-12-22 12:26:59 +00:00
arch arch/x86/car.ld: Use VB2_FIRMWARE_WORKBUF_RECOMMENDED_SIZE constant 2023-12-27 04:17:55 +00:00
commonlib commonlib/bsd: Tag CBMEM IDs deprecated for crashlog 2023-12-20 04:29:25 +00:00
console Allow to build romstage sources inside the bootblock 2023-11-09 13:20:18 +00:00
cpu Revert "cpu/intel/common: Define build time physical address reserved bits" 2023-12-22 12:26:42 +00:00
device x86: Separate CPU and SoC physical address size 2023-12-22 12:26:59 +00:00
drivers drivers/intel/gma: Only show the choice when a VBT is to be added 2023-12-26 17:41:36 +00:00
ec treewide: Use show_notices target for warnings 2023-12-20 04:06:55 +00:00
include sb/intel/bd82x6x: Add defines for PCI IDs 2023-12-23 19:58:44 +00:00
lib src/lib: Add memory/time saving special case for ramstage caching 2023-12-18 08:13:12 +00:00
mainboard mb/google/nissa/var/anraggar: add hook for WiFi SAR table 2023-12-28 17:30:59 +00:00
northbridge nb/intel/{gm45,sandybridge}: Use same indent levels for switch/case 2023-12-23 19:54:42 +00:00
sbom sbom/Makefile.inc: Change GOPATH 2023-11-20 14:32:54 +00:00
security security/tpm: Retrieve factory configuration for device w/ Google TPM 2023-12-31 03:18:42 +00:00
soc Update vboot submodule to upstream main 2023-12-26 17:30:26 +00:00
southbridge sb/intel/bd82x6x/pch: Add method to identify PCH 2023-12-26 17:03:56 +00:00
superio sio/nuvoton/npcd378: Fix ACPI errors 2023-12-16 22:58:35 +00:00
vendorcode vc/intel/fsp/mtl: Add UPDs for Acoustic Noise Mitigation 2023-12-20 04:25:06 +00:00
Kconfig Allow to build romstage sources inside the bootblock 2023-11-09 13:20:18 +00:00