Fix for slow I2C boot on C6678/C6670 EVM's
[keystone-rtos/ibl.git] / src / main / ibliniti2c.c
index 9d907125c0b89c50e1b56b66972dcdee72687484..0a3db3a7a06998b15771a2816c2cb39aaf6673f7 100644 (file)
@@ -107,6 +107,7 @@ void i2cReadBlock (void)
 
 
     i2cReadAddress += len;
+    i2cBusAddress = i2cReadAddress >>16;
     
     iFifoIn  = len;
     iFifoOut = 4;    /* The i2c header is effectively removed */