Re: [U-Boot] redundant code in common/cmd_i2c.

2009-11-12 Thread Heiko Schocher
Hello PratapChandu, PratapChandu wrote: The following code fragment in the file common/cmd_i2c.c seems to be redundant. Is not good to delete ? Line 330 - 336 is like below #if 0 for (timeout = 0; timeout 10; timeout++) { udelay(2000); if

Re: [U-Boot] redundant code in common/cmd_i2c.

2009-11-12 Thread Detlev Zundel
Hi Heiko, Hello PratapChandu, PratapChandu wrote: The following code fragment in the file common/cmd_i2c.c seems to be redundant. Is not good to delete ? Line 330 - 336 is like below #if 0 for (timeout = 0; timeout 10; timeout++) { udelay(2000);

[U-Boot] redundant code in common/cmd_i2c.

2009-11-11 Thread PratapChandu
The following code fragment in the file common/cmd_i2c.c seems to be redundant. Is not good to delete ? Line 330 - 336 is like below #if 0 for (timeout = 0; timeout 10; timeout++) { udelay(2000); if (i2c_probe(chip) == 0) break; } #endif