mpc5200: reduce delays in i2c
authorJon Smirl <jonsmirl@gmail.com>
Sat, 4 Apr 2009 21:44:51 +0000 (17:44 -0400)
committerWolfgang Denk <wd@denx.de>
Sat, 4 Apr 2009 23:34:08 +0000 (01:34 +0200)
commit3c853f31d6a8e4407f73a2ca2c63d383a245f237
tree47f3d741b2cfa59ffe8650c79e6755e847212d5b
parentc0a14aedc3440d6591b8c86d45861a0a8b46e11d
mpc5200: reduce delays in i2c

The previous code waited 1000us before checking i2c
status. Measurement shows i2c is usually ready in
under 50us. Change the polling interval to 15us,
loop 6,667 times to keep the polling timeout constant
at 100ms.
cpu/mpc5xxx/i2c.c