From: Kumar Gala <kumar.gala@freescale.com>
To: "Mark A. Greer" <mgreer@mvista.com>
Cc: "'Ricardo DIz'" <rdiz@alumni.deec.uc.pt>,
David Woodhouse <dwmw2@infradead.org>, Wolfgang Denk <wd@denx.de>,
Meriin Michael-BMM063 <Meriin@motorola.com>,
<linuxppc-embedded@lists.linuxppc.org>,
Pantelis Antoniou <panto@intracom.gr>
Subject: Re: U-Boot and kernel 2.6
Date: Fri, 11 Jun 2004 21:12:14 -0500 [thread overview]
Message-ID: <EC24D1FC-BC15-11D8-82F4-000393DBC2E8@freescale.com> (raw)
In-Reply-To: <40CA25B8.8050809@mvista.com>
> Some things have changed since that thread. In particular, the "On
> Chip
> Peripheral" or OCP support has been added to the kernel. Matt Porter
> has spent a lot of time working on the OCP and has it looking/working
> well. If you're not familiar with it, its worth a look.
>
> We can use the OCP to pass information from the platform-specific
> kernel
> code to drivers. We still have the issue of getting info into the
> kernel in the first place so we still need to resolve that issue.
> However, I would rather have drivers look in the OCP for info instead
> of
> directly at bi_recs (or whatever we chose).
>
> So for example, a network driver does not have to worry about where to
> get a MAC address, it just looks in the OCP. The board-specific code
> can deal with getting the MAC addr from a bi_rec, the cmd line, an I2C
> SROM somewhere, conjuring one up using incrementing MAC addrs, or
> whatever. After all, where to get the MAC addr really is platform (&
> firmware) specific. The OCP provides a single, clean interface to pass
> info into drivers.
>
> I think its something worth considering.
I agree with Mark. We are already doing this for 85xx in 2.4 and 2.6.
The board code handles populating mac addr's in OCP info.
Our intention is that drivers that support Freescale parts should use
OCP. One of the reasons for this is because of all the various
processors that will exist from Freescale were the driver should be
reusable.
- kumar
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-06-12 2:12 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-10 6:45 U-Boot and kernel 2.6 Meriin Michael-BMM063
2004-06-11 10:36 ` David Woodhouse
2004-06-11 11:03 ` Pantelis Antoniou
2004-06-11 11:20 ` David Woodhouse
2004-06-11 13:03 ` Wolfgang Denk
2004-06-11 13:23 ` Pantelis Antoniou
2004-06-11 14:09 ` Wolfgang Denk
[not found] ` <40C9BED6.3010809@intracom.gr>
2004-06-11 14:34 ` David Woodhouse
2004-06-11 15:11 ` Wolfgang Denk
2004-06-11 17:17 ` Greg Goodwin
2004-06-11 15:31 ` Mark Chambers
2004-06-11 16:22 ` Wolfgang Denk
2004-06-11 16:48 ` Kenneth Johansson
2004-06-11 14:43 ` Wolfgang Denk
2004-06-11 21:35 ` Mark A. Greer
2004-06-11 23:18 ` Mark Chambers
2004-06-11 23:27 ` Mark A. Greer
2004-06-12 2:12 ` Kumar Gala [this message]
2004-06-11 16:48 ` Tom Rini
[not found] ` <0F48024310E5D6118D200002B3A440DB08B07A3D@zil01exm08.mcil.comm.mot.com >
2004-06-11 19:27 ` Ricardo DIz
-- strict thread matches above, loose matches on Subject: below --
2004-06-09 17:47 Ricardo DIz
2006-08-01 5:12 ` Dmitry Chichkov
2006-08-01 7:10 ` Wolfgang Denk
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=EC24D1FC-BC15-11D8-82F4-000393DBC2E8@freescale.com \
--to=kumar.gala@freescale.com \
--cc=Meriin@motorola.com \
--cc=dwmw2@infradead.org \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=mgreer@mvista.com \
--cc=panto@intracom.gr \
--cc=rdiz@alumni.deec.uc.pt \
--cc=wd@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;
as well as URLs for NNTP newsgroup(s).