]> git.sur5r.net Git - u-boot/blobdiff - board/innokom/innokom.c
punt unused clean/distclean targets
[u-boot] / board / innokom / innokom.c
index e658c3529a8f5690c907fa35dbbecb291e040e47..22de7e34059dd6542f4337d5c152f1b4acee5c93 100644 (file)
@@ -45,12 +45,7 @@ DECLARE_GLOBAL_DATA_PTR;
  */
 int i2c_init_board(void)
 {
-       int i, icr;
-
-       /* disable I2C controller first, otherwhise it thinks we want to    */
-       /* talk to the slave port...                                        */
-       icr = readl(ICR);
-       writel(readl(ICR) & ~(ICR_SCLE | ICR_IUE), ICR);
+       int i;
 
        /* set gpio pin low _before_ we change direction to output          */
        writel(GPIO_bit(70), GPCR(70));
@@ -63,8 +58,6 @@ int i2c_init_board(void)
                udelay(10);
        }
 
-       writel(icr, ICR);
-
        return 0;
 }