]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/samsung/smdk5250/smdk5250.c
EXYNOS: Resolve the i2c compilation error
[karo-tx-uboot.git] / board / samsung / smdk5250 / smdk5250.c
index ae1f077c4c0e2d4387fec1a98a683858f4a47abb..f1d3d97fd685d3020ca5adec1cc7227b961cf5b4 100644 (file)
@@ -332,6 +332,16 @@ static int board_uart_init(void)
        return ret;
 }
 
+void board_i2c_init(const void *blob)
+{
+       int i;
+
+       for (i = 0; i < CONFIG_MAX_I2C_NUM; i++) {
+               exynos_pinmux_config((PERIPH_ID_I2C0 + i),
+                                    PINMUX_FLAG_NONE);
+       }
+}
+
 #ifdef CONFIG_BOARD_EARLY_INIT_F
 int board_early_init_f(void)
 {