[U-Boot] [PATCH] mpc5200: reduce delays in i2c

Wolfgang Denk wd at denx.de
Sun Apr 5 01:34:19 CEST 2009


Dear Jon Smirl,

In message <20090404214451.3615.21311.stgit at terra> you wrote:
> 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 |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
God made machine language; all the rest is the work of man.


More information about the U-Boot mailing list