Skip to contentSkip to conversation

lib_arm/board.c calls eth_init() for smc91111...why?

U-Boot-Users Paul Ruhland 2 participants 2 messages Jun 10, 2004 – Jun 11, 2004

lore
Share & tools
lore
#0 lore raw

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.

Signature · 4 lines
Paul Ruhland <[email protected]>
Software Engineer
Microwave Data Systems
Rochester, NY 16420
#1 lore raw
Quoted 6 lines · In message <[email protected]> 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

Signature · 4 lines
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