summaryrefslogtreecommitdiff
path: root/board/cr50
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50')
-rw-r--r--board/cr50/board.c2
-rw-r--r--board/cr50/board.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c
index 9b1ce10f6d..d9720956de 100644
--- a/board/cr50/board.c
+++ b/board/cr50/board.c
@@ -228,7 +228,7 @@ static int other_rw_is_inactive(void)
/* I2C Port definition */
const struct i2c_port_t i2c_ports[] = {
- {"master", I2C_PORT_MASTER, 100,
+ {"controller", I2C_PORT_CONTROLLER, 100,
GPIO_I2C_SCL_INA, GPIO_I2C_SDA_INA},
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 7e3efc79bd..6eb075a022 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -515,7 +515,7 @@ enum nvmem_users {
#define CONFIG_SN_BITS_SUPPORT
#define CONFIG_EXTENDED_VERSION_INFO
-#define I2C_PORT_MASTER 0
+#define I2C_PORT_CONTROLLER 0
#define CONFIG_BASE32
#define CONFIG_RMA_AUTH