public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] ARM: add support of CONFIG_LAST_STAGE_INIT for arm
Date: Tue, 11 Dec 2007 23:03:16 +0100	[thread overview]
Message-ID: <20071211220316.2E05D246C2@gemini.denx.de> (raw)
In-Reply-To: Your message of "Tue, 11 Dec 2007 12:05:47 EST." <200712111205.48970.vapier@gentoo.org>

In message <200712111205.48970.vapier@gentoo.org> you wrote:
>
> > Please keep in mind that U-Boot shall initialize hardware if and only
> > if it is using it (and that it must deactivate it after use).
> 
> with many pieces of hardware, you can draw a line between initializing it and 
> actually enabling/using it.

Correct. If make such a difference, then initialization shall be
performed when you enable it for the very first time in U-Boot.

There is many reasons for such a design; for example, think about the
system boot time.

> for example, shouldnt the initialization/programming of the MAC address always 
> happen regardless of the network being used ?  not all MAC's have/support 

Not, it should not. It must not.

> eeprom's which contain the MAC address, so the implicit address programming
> that happens in hardware cannot happen.

The MAC is not needed before you access the Ethernet  port,  so  ther
eis  no need to do it before - or to ever do it, if you don't use the
network in U-Boot.

Please see also the FAQ. 

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
My play was a complete success.  The audience was a failure.

  reply	other threads:[~2007-12-11 22:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 15:29 [U-Boot-Users] PATCH: support board-specific ethernet PHY init for ARM Michael Schwingen
2007-12-08 12:45 ` Jean-Christophe PLAGNIOL-VILLARD
2007-12-08 22:32   ` Michael Schwingen
2007-12-09  9:43     ` Jean-Christophe PLAGNIOL-VILLARD
2007-12-09  9:50       ` [U-Boot-Users] [PATCH] ARM: add support of CONFIG_LAST_STAGE_INIT for arm Jean-Christophe PLAGNIOL-VILLARD
2007-12-09 14:50         ` Wolfgang Denk
2007-12-09 16:38           ` Michael Schwingen
2007-12-10 17:58             ` Haavard Skinnemoen
2007-12-10 20:08               ` Michael Schwingen
2007-12-10 20:28               ` Ben Warren
2007-12-11  8:59                 ` Haavard Skinnemoen
2007-12-11 16:13                   ` Wolfgang Denk
2007-12-11 17:05                     ` Mike Frysinger
2007-12-11 22:03                       ` Wolfgang Denk [this message]
2007-12-11 18:38                   ` Michael Schwingen
2007-12-11 22:09                     ` Wolfgang Denk
2007-12-12  8:32                       ` Michael Schwingen
2007-12-11  9:53 ` [U-Boot-Users] [PATCH] ARM: support board-specific ethernet PHY init Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071211220316.2E05D246C2@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox