From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Sun, 31 May 2009 21:05:41 -0700 Subject: [U-Boot] [PATCH] ppc4xx/net: Fix MDIO clock setup In-Reply-To: <1243791855-7196-1-git-send-email-felix@embedded-sol.com> References: <> <1243791855-7196-1-git-send-email-felix@embedded-sol.com> Message-ID: <4A235395.8090202@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Felix, Felix Radensky wrote: > This patch fixes MDIO clock setup in case when OPB frequency is 100MHz. > Current code assumes that the value of sysinfo.freqOPB is 100000000 > when OPB frequency is 100MHz. In reality it is 100000001. As a result > MDIO clock is set to incorrect value, larger than 2.5MHz, thus violating > the standard. This in not a problem on boards equipped with Marvell PHYs > (e.g. Canyonlands), since those PHYs support MDIO clocks up to 8.3MHz, > but can be a problem for other PHYs (e.g. Realtek ones). > > Signed-off-by: Felix Radensky > Applied to net/next thanks, Ben