From mboxrd@z Thu Jan 1 00:00:00 1970 From: michael Date: Sat, 23 Feb 2008 13:23:51 +0100 Subject: [U-Boot-Users] [PATCH] Add support for Generic PHY in macb In-Reply-To: <20080222170856.65e4fd3c@dhcp-252-066.norway.atmel.com> References: <395120.95844.qm@web26212.mail.ukl.yahoo.com> <20080222170856.65e4fd3c@dhcp-252-066.norway.atmel.com> Message-ID: <47C01057.7070708@gandalf.sssup.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Haavard Skinnemoen wrote: > On Fri, 22 Feb 2008 16:02:13 +0000 (GMT) > Michael Trimarchi wrote: > > >>> In any case, the dm9161a PHY in question does implement MDIO, so it >>> really should work without any modifications. >>> >>> >> Maybe we can add the for cycle like in linux to check the phy addr? >> > > Yes, we could do that. But it comes with its own share of problems -- > some boards have a too weak pull-up (or none at all) on the MDIO line, > so the probing code sometimes thinks it has found a whole bunch of > PHYs... > I add the cycle only for testing and works, now I will take a look to the mii layer in the u-boot and maybe find a better and clean solution if I have spare time. Regards Michael