summaryrefslogtreecommitdiff
path: root/src/mainboard/google/herobrine/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/herobrine/bootblock.c')
-rw-r--r--src/mainboard/google/herobrine/bootblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/herobrine/bootblock.c b/src/mainboard/google/herobrine/bootblock.c
index 50ca0aa4e0..cd1612703f 100644
--- a/src/mainboard/google/herobrine/bootblock.c
+++ b/src/mainboard/google/herobrine/bootblock.c
@@ -10,10 +10,10 @@ void bootblock_mainboard_init(void)
{
setup_chromeos_gpios();
- if (CONFIG(MAINBOARD_HAS_I2C_TPM_CR50))
+ if (CONFIG(I2C_TPM))
i2c_init(CONFIG_DRIVER_TPM_I2C_BUS, I2C_SPEED_FAST); /* H1/TPM I2C */
- if (CONFIG(MAINBOARD_HAS_SPI_TPM_CR50))
+ if (CONFIG(SPI_TPM))
qup_spi_init(CONFIG_DRIVER_TPM_SPI_BUS, 1010 * KHz); /* H1/TPM SPI */
if (CONFIG(EC_GOOGLE_CHROMEEC))