diff options
author | Wisley Chen <wisley.chen@quanta.corp-partner.google.com> | 2021-08-05 18:10:43 +0600 |
---|---|---|
committer | Nick Vaccaro <nvaccaro@google.com> | 2021-08-12 17:54:32 +0000 |
commit | eb07e4c957cdba397908972d77a704ea649a8a83 (patch) | |
tree | 9d27b32db03584b48a88bdcb8c186eb0e6c4d536 /src | |
parent | f3c4f29ddda2f1f0abe89900a492b69d5492a4ff (diff) |
mb/google/dedede/variants/haboki: add discrete TPM in overridetree
Haboki is project which use discrete TPM, so add discrete TPM and
disable cr50 in overrideree.
BUG=b:187094464
TEST=FW_NAME=haboki emerge-keeby coreboot chromeos-bootimage
Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Change-Id: I08f2a562c3f62c60402350151ea260b70890a744
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56829
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/dedede/variants/haboki/overridetree.cb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/mainboard/google/dedede/variants/haboki/overridetree.cb b/src/mainboard/google/dedede/variants/haboki/overridetree.cb index aebfdcd29c..b4f312f243 100644 --- a/src/mainboard/google/dedede/variants/haboki/overridetree.cb +++ b/src/mainboard/google/dedede/variants/haboki/overridetree.cb @@ -18,10 +18,6 @@ chip soc/intel/jasperlake #| I2C4 | Audio | #+-------------------+---------------------------+ register "common_soc_config" = "{ - .gspi[0] = { - .speed_mhz = 1, - .early_init = 1, - }, .i2c[0] = { .speed = I2C_SPEED_FAST, }, @@ -46,6 +42,9 @@ chip soc/intel/jasperlake register "tcc_offset" = "20" # TCC of 85C + register "SerialIoGSpiMode[PchSerialIoIndexGSPI0]" = "PchSerialIoDisabled" # Disable GSPI0 + register "SerialIoGSpiCsMode[PchSerialIoIndexGSPI0]" = "0" + # Enable Acoustic noise mitigation and set slew rate to 1/4 # Rest of the parameters are 0 by default. register "AcousticNoiseMitigation" = "1" @@ -296,6 +295,12 @@ chip soc/intel/jasperlake device i2c 1a on end end end #I2C 4 + device pci 1f.0 on + chip drivers/pc80/tpm + device pnp 0c31.0 on end # Discrete TPM + end # chip drivers/pc80/tpm + end # PCH eSPI + device pci 1e.2 off end # GSPI 0 device pci 1f.3 on chip drivers/generic/max98357a register "hid" = ""MX98360A"" |