Skip to content

Commit

Permalink
build-configs: x86-chromebook: enable TPM
Browse files Browse the repository at this point in the history
This adds the required configs to enable the cr50 i2c and spi
TPM chips present on Chromebook devices. The drivers expose
/dev/tpm devices which will then be used by tpm2-tools in
Debian images or a custom TPM userspace stack in ChromeOS
images exercisable via the TAST test suite.

Signed-off-by: Adrian Ratiu <[email protected]>
  • Loading branch information
10ne1 authored and gctucker committed Feb 11, 2022
1 parent d99513f commit 84ad97c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/core/build-configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,13 @@ fragments:
- 'CONFIG_IIO_CROS_EC_SENSORS=m'
- 'CONFIG_MFD_CROS_EC_DEV=m'
- 'CONFIG_I2C_DESIGNWARE_PLATFORM=y'
- 'CONFIG_TCG_TPM=y'
- 'CONFIG_TCG_TIS=y'
- 'CONFIG_TCG_TIS_SPI=y'
- 'CONFIG_TCG_TIS_SPI_CR50=y'
- 'CONFIG_TCG_TIS_I2C_CR50=y'
- 'CONFIG_SPI=y'
- 'CONFIG_SPI_PXA2XX=y'

x86_kvm_guest:
path: "kernel/configs/kvm_guest.config"
Expand Down

0 comments on commit 84ad97c

Please sign in to comment.