From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Mon, 28 Jun 2010 14:02:07 +0200 Subject: [U-Boot] [PATCH V2] Allow PHY addresses on kirkwood egiga to be non continuous. In-Reply-To: <1277716302.2221.37.camel@tor-desktop> References: <1277716302.2221.37.camel@tor-desktop> Message-ID: <20100628120207.CE13B14EBF7@gemini.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 Dear Tor Krill, In message <1277716302.2221.37.camel@tor-desktop> you wrote: > > > 2. For the boards using single port will also need to configure PHY address > > for other port, which is meaningless, unnecessary and confusing. > > Sure you had to put something there to be on the safe side. But is that > really that confusing, the SOC really have two ports, them being used or > not? It is indeed confusing and should be avoided if one has to configurwe hardware ports that are not actually present or used on a specific board. If needed, provide sane defaults internally in the code. But keep in mind that U-Boot requires that only used peripherals should be initialized - we should not initisalize any unused ports. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Let's say the docs present a simplified view of reality... :-) - Larry Wall in <6940@jpl-devvax.JPL.NASA.GOV>