summaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/variants
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/volteer/variants')
-rw-r--r--src/mainboard/google/volteer/variants/chronicler/overridetree.cb2
-rw-r--r--src/mainboard/google/volteer/variants/volteer2/overridetree.cb4
-rw-r--r--src/mainboard/google/volteer/variants/volteer2/variant.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/volteer/variants/chronicler/overridetree.cb b/src/mainboard/google/volteer/variants/chronicler/overridetree.cb
index b69990c24a..763a5ee893 100644
--- a/src/mainboard/google/volteer/variants/chronicler/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/chronicler/overridetree.cb
@@ -29,7 +29,7 @@ chip soc/intel/tigerlake
register "common_soc_config" = "{
.gspi[0] = {
.speed_mhz = 1,
- .early_init = CONFIG(MAINBOARD_HAS_SPI_TPM_CR50),
+ .early_init = CONFIG(SPI_TPM),
},
.i2c[0] = {
.speed = I2C_SPEED_FAST,
diff --git a/src/mainboard/google/volteer/variants/volteer2/overridetree.cb b/src/mainboard/google/volteer/variants/volteer2/overridetree.cb
index d024835aa0..b6657a1576 100644
--- a/src/mainboard/google/volteer/variants/volteer2/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/volteer2/overridetree.cb
@@ -22,14 +22,14 @@ chip soc/intel/tigerlake
register "common_soc_config" = "{
.gspi[0] = {
.speed_mhz = 1,
- .early_init = CONFIG(MAINBOARD_HAS_SPI_TPM_CR50),
+ .early_init = CONFIG(SPI_TPM),
},
.i2c[0] = {
.speed = I2C_SPEED_FAST,
},
.i2c[1] = {
.speed = I2C_SPEED_FAST,
- .early_init = CONFIG(MAINBOARD_HAS_I2C_TPM_CR50),
+ .early_init = CONFIG(I2C_TPM),
},
.i2c[2] = {
.speed = I2C_SPEED_FAST,
diff --git a/src/mainboard/google/volteer/variants/volteer2/variant.c b/src/mainboard/google/volteer/variants/volteer2/variant.c
index 442402779d..c9129b242d 100644
--- a/src/mainboard/google/volteer/variants/volteer2/variant.c
+++ b/src/mainboard/google/volteer/variants/volteer2/variant.c
@@ -20,6 +20,6 @@ static void devtree_enable_i2c_tpm(void)
void variant_devtree_update(void)
{
- if (CONFIG(MAINBOARD_HAS_I2C_TPM_CR50))
+ if (CONFIG(I2C_TPM))
devtree_enable_i2c_tpm();
}