Add command for handling DDR ECC registers on MPC8349EE MDS board.
[oweals/u-boot.git] / common / soft_i2c.c
index 48e3d3e1c2602766374c080fe68ab80f0d2bda6f..b3642dafc24564b44b151db1e4f0cffd50b3473e 100644 (file)
@@ -164,13 +164,10 @@ static void send_ack(int ack)
        volatile immap_t *immr = (immap_t *)CFG_IMMR;
 #endif
 
-       I2C_ACTIVE;
        I2C_SCL(0);
        I2C_DELAY;
-
-       I2C_SDA(ack);
-
        I2C_ACTIVE;
+       I2C_SDA(ack);
        I2C_DELAY;
        I2C_SCL(1);
        I2C_DELAY;