From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 18 Mar 2015 09:26:21 +0100 Subject: [U-Boot] [PATCH] i2c: mvtwsi: Fix problem with baud rate calculation In-Reply-To: <5509354F.7020805@redhat.com> References: <1426586890-10130-1-git-send-email-sr@denx.de> <55080CD7.8040301@redhat.com> <5509354F.7020805@redhat.com> Message-ID: <550936AD.80009@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Hans, On 18.03.2015 09:20, Hans de Goede wrote: >> 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