switch-coreboot/src
Vadim Bendebury 5f082d6a9b vboot2: tpm2 factory initialization.
This patch adds a TPM2 specific path in the vboot2 initialization
sequence when the device is turned on in the factory for the first
time, namely two secure NVRAM spaces are created, with different
access privileges.

The higher privilege space can be modified only be the RO firmware,
and the lower privilege space can be modified by both RO and RW
firmware.

The API is being modified to hide the TPM implementation details from
the caller.

Some functions previously exported as global are in fact not used
anywhere else, they are being defined static.

BRANCH=none
BUG=chrome-os-partner:50645
TEST=when this code is enabled the two secure spaces are successfully
     created during factory initialization.

Change-Id: I917b2f74dfdbd214d7f651ce3d4b80f4a18def20
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/353916
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Darren Krahn <dkrahn@chromium.org>
2016-06-25 02:28:55 -07:00
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch UPSTREAM: ACPI S3: Add common recovery code 2016-06-22 10:41:59 -07:00
commonlib UPSTREAM: commonlib/region: Add helpers for dynamic initialization of region dev 2016-06-22 10:41:25 -07:00
console UPSTREAM: console/post: be explicit about conditional cmos_post_log() compiling 2016-05-26 03:21:57 -07:00
cpu UPSTREAM: ACPI S3: Add common recovery code 2016-06-22 10:41:59 -07:00
device UPSTREAM: device: i2c: Add support for I2C bus operations 2016-06-10 00:17:46 -07:00
drivers tpm: use proper locality zero SPI bus addresses 2016-06-23 17:44:30 -07:00
ec google/chromeec: Update EC command header 2016-06-23 15:15:09 -07:00
include vboot2: tpm2 factory initialization. 2016-06-25 02:28:55 -07:00
lib tpm2: add marshaling/unmarshaling layer 2016-06-25 02:28:53 -07:00
mainboard UPSTREAM: samsung/lumpy: Fix build with System Agent blob 2016-06-23 20:19:26 -07:00
northbridge UPSTREAM: intel/sandybridge: Fix builds with System Agent blob 2016-06-23 20:19:23 -07:00
soc UPSTREAM: intel/apollolake: Enable prefetching and caching for BIOS reads 2016-06-23 20:19:30 -07:00
southbridge UPSTREAM: drivers/lenovo: Add hybrid graphics driver 2016-06-02 14:06:29 -07:00
superio UPSTREAM: sio/winbond/w83667hg-a: Add pinmux defines for UART B 2016-05-31 12:07:04 -07:00
vendorcode vboot2: tpm2 factory initialization. 2016-06-25 02:28:55 -07:00
Kconfig kconfig: allow various tpm type and interface permutations 2016-06-15 15:29:06 -07:00