From: Dan Malek <dan@embeddededge.com>
To: "Curtis, Allen" <Allen.Curtis@Thales-IFS.com>
Cc: "'linuxppc-embedded@lists.linuxppc.org'"
<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: 8260/8xx Embedded Boot patch
Date: Wed, 28 Aug 2002 14:44:55 -0400 [thread overview]
Message-ID: <3D6D1A27.2090700@embeddededge.com> (raw)
In-Reply-To: FA06AA2C99BCD511951200005A99441001E3ED4C@irvexch1.sextantifs.com
Curtis, Allen wrote:
> 1. The loop that overwrites the b_enetaddr[] should check that it does not
> contain any information before assigning the default. This could have been
> passed in by the bios.
If you have a board/rom configuration where this isn't the right thing
to do, then create a new embed_config() function for it. These are not
intended to be generic functions, and if you someday have experience with
lots of different board/rom combinations, you'll understand why this is
the case.
This code is intended to be a quick and easy update for a new board without
having to worry about how you may affect someone else. There are LOTS of
boards using this code, and I don't like to be changing something that is
currently working without the ability to test everything else that may
be affected. You definitely have to take the "if it works, don't touch it"
attitude here and add something new that suits your purpose.
> 2. If you assume that any platform that uses CONFIG_EMBEDDEDBOOT may want to
> pass in a bd_info structure,
We don't assume that at all. In fact there are only three boards now where
we make that assumption and it is clear in the code which ones they are.
There is certainly no standard way of linking information between a boot rom
and this code, and tomorrow we may find something completely different. If
you write code in embed_config() that expects something to be passed from a
boot rom (which in some cases is not a bd_t), then you must ensure it gets
passed from head.S properly.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-08-28 18:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-28 17:08 8260/8xx Embedded Boot patch Curtis, Allen
2002-08-28 18:44 ` Dan Malek [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-08-28 19:03 Curtis, Allen
2002-08-28 0:06 Allen Curtis
2002-08-28 0:23 ` Tom Rini
2002-08-28 0:28 ` acurtis
2002-08-28 0:36 ` Tom Rini
2002-08-28 4:03 ` Dan Malek
2002-08-28 4:16 ` Allen Curtis
2002-08-28 6:06 ` Dan Malek
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=3D6D1A27.2090700@embeddededge.com \
--to=dan@embeddededge.com \
--cc=Allen.Curtis@Thales-IFS.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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;
as well as URLs for NNTP newsgroup(s).