[U-Boot-Users] lib_arm/board.c calls eth_init() for smc91111...why?

Wolfgang Denk wd at denx.de
Fri Jun 11 12:17:20 CEST 2004


In message <200406101558.48413.pruhland at 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




More information about the U-Boot mailing list