summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
authorZick Wei <zick.wei@quanta.corp-partner.google.com>2020-04-16 16:04:43 +0800
committerCommit Bot <commit-bot@chromium.org>2020-04-17 12:22:56 +0000
commit380e33b10fed03f41ba17de764ca80facf40e42c (patch)
treef8cfefaddbf675918c292ec2cd6f4ffa70ee6675 /baseboard
parent798981fbec38962728772487384d87004b13685d (diff)
downloadchrome-ec-380e33b10fed03f41ba17de764ca80facf40e42c.tar.gz
thermal: rename AMD AP I2C port name
This patch rename AMD AP I2C port name for zork and grunt family. BUG=b:154189125 BRANCH=none TEST=make buildall and verify EC can get AP temperature through temps command in EC console on morphius board. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I846bf671983c9788ad1f42986bfbefda09d5c9b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2152032 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/grunt/baseboard.h2
-rw-r--r--baseboard/zork/baseboard.h2
-rw-r--r--baseboard/zork/variant_dalboz.c2
-rw-r--r--baseboard/zork/variant_trembyle.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/baseboard/grunt/baseboard.h b/baseboard/grunt/baseboard.h
index eadd60a104..96daef28c2 100644
--- a/baseboard/grunt/baseboard.h
+++ b/baseboard/grunt/baseboard.h
@@ -173,7 +173,7 @@
#define I2C_PORT_POWER NPCX_I2C_PORT0_0
#define I2C_PORT_TCPC0 NPCX_I2C_PORT1_0
#define I2C_PORT_TCPC1 NPCX_I2C_PORT2_0
-#define I2C_PORT_THERMAL NPCX_I2C_PORT3_0
+#define I2C_PORT_THERMAL_AP NPCX_I2C_PORT3_0
#define I2C_PORT_SENSOR NPCX_I2C_PORT7_0
/* Accelerometer and Gyroscope are the same device. */
#define I2C_PORT_ACCEL I2C_PORT_SENSOR
diff --git a/baseboard/zork/baseboard.h b/baseboard/zork/baseboard.h
index e016f13cff..1bd04cad27 100644
--- a/baseboard/zork/baseboard.h
+++ b/baseboard/zork/baseboard.h
@@ -220,7 +220,7 @@
#define I2C_PORT_USBA1 NPCX_I2C_PORT1_0
#define I2C_PORT_CHARGER NPCX_I2C_PORT2_0
#define I2C_PORT_USB_AP_MUX NPCX_I2C_PORT3_0
-#define I2C_PORT_THERMAL NPCX_I2C_PORT4_1
+#define I2C_PORT_THERMAL_AP NPCX_I2C_PORT4_1
#define I2C_PORT_SENSOR NPCX_I2C_PORT5_0
#define I2C_PORT_ACCEL I2C_PORT_SENSOR
#define I2C_PORT_EEPROM I2C_PORT_SENSOR
diff --git a/baseboard/zork/variant_dalboz.c b/baseboard/zork/variant_dalboz.c
index f25540dcf1..40ec020e55 100644
--- a/baseboard/zork/variant_dalboz.c
+++ b/baseboard/zork/variant_dalboz.c
@@ -46,7 +46,7 @@ const struct i2c_port_t i2c_ports[] = {
},
{
.name = "thermal",
- .port = I2C_PORT_THERMAL,
+ .port = I2C_PORT_THERMAL_AP,
.kbps = 400,
.scl = GPIO_FCH_SIC,
.sda = GPIO_FCH_SID,
diff --git a/baseboard/zork/variant_trembyle.c b/baseboard/zork/variant_trembyle.c
index 8826f9c283..231d8d8338 100644
--- a/baseboard/zork/variant_trembyle.c
+++ b/baseboard/zork/variant_trembyle.c
@@ -54,7 +54,7 @@ const struct i2c_port_t i2c_ports[] = {
},
{
.name = "thermal",
- .port = I2C_PORT_THERMAL,
+ .port = I2C_PORT_THERMAL_AP,
.kbps = 400,
.scl = GPIO_FCH_SIC,
.sda = GPIO_FCH_SID,