summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cherry
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/cherry')
-rw-r--r--src/mainboard/google/cherry/bootblock.c2
-rw-r--r--src/mainboard/google/cherry/mainboard.c4
-rw-r--r--src/mainboard/google/cherry/romstage.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/cherry/bootblock.c b/src/mainboard/google/cherry/bootblock.c
index dca2f1383a..c506cafc27 100644
--- a/src/mainboard/google/cherry/bootblock.c
+++ b/src/mainboard/google/cherry/bootblock.c
@@ -43,7 +43,7 @@ static void usb3_hub_reset(void)
void bootblock_mainboard_init(void)
{
- mtk_i2c_bus_init(CONFIG_DRIVER_TPM_I2C_BUS);
+ mtk_i2c_bus_init(CONFIG_DRIVER_TPM_I2C_BUS, I2C_SPEED_FAST);
mtk_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS, SPI_PAD0_MASK, 3 * MHz, 0);
nor_set_gpio_pinmux();
setup_chromeos_gpios();
diff --git a/src/mainboard/google/cherry/mainboard.c b/src/mainboard/google/cherry/mainboard.c
index 7b9ba658d1..a09705019e 100644
--- a/src/mainboard/google/cherry/mainboard.c
+++ b/src/mainboard/google/cherry/mainboard.c
@@ -131,7 +131,7 @@ 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(I2C7);
+ mtk_i2c_bus_init(I2C7, I2C_SPEED_FAST);
if (CONFIG(BOARD_GOOGLE_CHERRY))
mt6360_init(I2C7);
@@ -205,7 +205,7 @@ static void mainboard_init(struct device *dev)
/* for audio usage */
if (CONFIG(CHERRY_USE_RT1011))
- mtk_i2c_bus_init(I2C2);
+ mtk_i2c_bus_init(I2C2, I2C_SPEED_FAST);
if (dpm_init())
printk(BIOS_ERR, "dpm init failed, DVFS may not work\n");
diff --git a/src/mainboard/google/cherry/romstage.c b/src/mainboard/google/cherry/romstage.c
index 71291c24a3..f375867c28 100644
--- a/src/mainboard/google/cherry/romstage.c
+++ b/src/mainboard/google/cherry/romstage.c
@@ -28,7 +28,7 @@ void platform_romstage_main(void)
mt6359p_init();
mt6315_init();
raise_little_cpu_freq();
- mtk_i2c_bus_init(I2C7);
+ mtk_i2c_bus_init(I2C7, I2C_SPEED_FAST);
if (CONFIG(BOARD_GOOGLE_CHERRY))
mt6360_init(I2C7);
clk_buf_init();