[U-Boot] [PATCH] i2c: mvtwsi: Fix problem with baud rate calculation

Stefan Roese sr at denx.de
Wed Mar 18 09:26:21 CET 2015


Hi Hans,

On 18.03.2015 09:20, Hans de Goede wrote:

<snip>

>> I've send allwinner a mail asking them to clarify this.
>
> I've just gotten an answer from allwinner, and the formula in their
> datasheet
> is correct, with the raw register value == CLK_N so the current (before
> this patch)
> u-boot code is correct for Allwinner devices and we need a #ifdef here
> to keep the
> old formula for sunxi devices, you can use:
>
> #ifdef CONFIG_SUNXI
>
> For this.

Okay, will send v2 right away...

Thanks,
Stefan



More information about the U-Boot mailing list