From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Tue, 08 Jul 2008 11:53:17 -0700 Subject: [U-Boot-Users] PHY lib In-Reply-To: <487303E5.7030202@seznam.cz> References: <5098.7945-23160-712761107-1215440878@seznam.cz> <487292BE.7080904@gmail.com> <487303E5.7030202@seznam.cz> Message-ID: <4873B79D.5080603@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 Michal, Michal Simek wrote: > Hi Ben, > > >> Hi Michal, >> >> Michal Simek wrote: >> >>> Hi Ben and others, >>> >>> do you have any plan to start with PHY libs? >>> I saw to tsec driver - there are some phy description. >>> I would like to use phy description for one eth driver which I do. >>> >>> >>> >> I'm finally finding time to work on refactoring U-boot's networking >> support, one of the parts of which is a proper PHY library. For several >> reasons, it pulls a lot from the TSEC driver. Cutting and pasting the >> PHY descriptions from TSEC is probably a good idea (in as much as >> cutting and pasting is a good idea :)). >> > > That's great. What next changes do you plan? > Thanks for information. > > So many things... Here are what I see as the low-hanging fruit: 1. Move all ethernet initializations into cpu_eth_init()/board_eth_init(). You can see this is underway. 2. Get rid of the CONFIG_NET_MULTI option. The trick here is to keep the code size of single-controller boards as small as possible. 3. PHY library. With these implemented, I think we can start to look at more interesting problems. Feel free to brainstorm here! regards, Ben