diff options
Diffstat (limited to 'src/mainboard/google/veyron_pinky/mainboard.c')
-rw-r--r-- | src/mainboard/google/veyron_pinky/mainboard.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mainboard/google/veyron_pinky/mainboard.c b/src/mainboard/google/veyron_pinky/mainboard.c index 4752547f6f..0266965753 100644 --- a/src/mainboard/google/veyron_pinky/mainboard.c +++ b/src/mainboard/google/veyron_pinky/mainboard.c @@ -103,7 +103,7 @@ static void configure_emmc(void) static void configure_codec(void) { writel(IOMUX_I2C2, &rk3288_grf->iomux_i2c2); /* CODEC I2C */ - i2c_init(2, 400000); /* CODEC I2C */ + i2c_init(2, 400*KHz); /* CODEC I2C */ writel(IOMUX_I2S, &rk3288_grf->iomux_i2s); writel(IOMUX_I2SCLK, &rk3288_grf->iomux_i2sclk); @@ -152,10 +152,6 @@ static void configure_vop(void) static void mainboard_init(device_t dev) { - setbits_le32(&rk3288_pmu->iomux_i2c0scl, IOMUX_I2C0SCL); /* PMIC I2C */ - setbits_le32(&rk3288_pmu->iomux_i2c0sda, IOMUX_I2C0SDA); /* PMIC I2C */ - i2c_init(0, 400000); /* PMIC I2C */ - gpio_output(GPIO_RESET, 0); configure_usb(); |