[U-Boot] [PATCH] Add I2C speed and divider formula for ColdFire

Timur Tabi timur at freescale.com
Fri Apr 10 03:15:36 CEST 2009


On Thu, Apr 9, 2009 at 11:18 AM, Tsi-Chung Liew
<Tsi-Chung.Liew at freescale.com> wrote:
> From: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
>
> Implement formula to obtain I2C speed and internal bus
> divider. This will provide accurate divider than fix table
> divider value.

Can you prove this statement?  I don't think accuracy is that
important.  The advantage of a table is that it's easier to debug and
the code is simpler.

I'm inclined to NACK this patch.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list