summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cherry/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/cherry/mainboard.c')
-rw-r--r--src/mainboard/google/cherry/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/cherry/mainboard.c b/src/mainboard/google/cherry/mainboard.c
index 5758883edb..6b29f4417b 100644
--- a/src/mainboard/google/cherry/mainboard.c
+++ b/src/mainboard/google/cherry/mainboard.c
@@ -125,10 +125,10 @@ static void configure_sdcard(void)
MSDC1_GPIO_MODE1_2, MSDC1_GPIO_MODE1_VALUE,
MSDC1_GPIO_MODE1_3, MSDC1_GPIO_MODE1_VALUE);
- mtk_i2c_bus_init(7);
+ mtk_i2c_bus_init(I2C7);
if (CONFIG(BOARD_GOOGLE_CHERRY))
- mt6360_init(7);
+ mt6360_init(I2C7);
mainboard_enable_regulator(MTK_REGULATOR_VCCQ, 1);
mainboard_enable_regulator(MTK_REGULATOR_VCC, 1);