From: Wolfgang Denk Date: Fri, 11 Jun 2004 12:17:20 +0200 Subject: [U-Boot-Users] lib_arm/board.c calls eth_init() for smc91111...why? In-Reply-To: Your message of "Thu, 10 Jun 2004 15:58:48 EDT." <200406101558.48413.pruhland@microwavedata.com> Message-ID: <1BatoD-0HKM520@fmrl08.sul.t-online.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <200406101558.48413.pruhland@microwavedata.com> you wrote: > I noticed when my board booted with the latest CVS there was an unusually long > delay (3-4 seconds) before the prompt came up. I initially thought it had > hung. Turns out a call to 'eth_init()' was recently added in > 'lib_arm/board.c'. Since 'eth_init()' is called from 'Net_Loop()' why do we > need the call in board.c? It adds quite a large delay to the bootup time > that I think is unnecessary. Yes, you are right. This modification escaped me when I added Robert Schwebel's patch [15 May 2004]. Sorry. Fixed. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Anyone who doesn't believe in miracles is not a realist. - David Ben Gurion