From: Adrian Cox <adrian@humboldt.co.uk>
To: Kumar Gala <kumar.gala@freescale.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: [PATCH][RFC] OCP support for MPC107 and relatives
Date: Mon, 14 Jun 2004 15:47:04 +0100 [thread overview]
Message-ID: <1087224423.7360.323.camel@newt> (raw)
In-Reply-To: <FF1E1EF0-BE0A-11D8-91C4-000393DBC2E8@freescale.com>
On Mon, 2004-06-14 at 14:59, Kumar Gala wrote:
> Is there a reason why we dont support the 106 as well for OCP? Do you
> know if this will match for the 8241 and/or 824x?
According to my 106 user manual it's a pure northbridge, without I2C
unit, DMA, or interrupt controller. The code should work for the 824x
family, but I don't have any of them.
> > - if (host_bridge != MPC10X_BRIDGE_106) {
> > + if (host_bridge == MPC10X_BRIDGE_106) {
> > + /* On-chip peripherals were introduced with the MPC107/MPC8240 */
> > + core_ocp[0].vendor = OCP_VENDOR_INVALID;
> > + } else {
> > early_read_config_byte(hose,
> > 0,
> > PCI_DEVFN(0,0),
>
> My only other comments relate to consistency with how we are doing
> things for 85xx with regards to OCP. For example, how the config
> options are handled (added a FSL_OCP) and how we update the paddr field
> based on eumbar. Also, I believe we have an ocp interface to delete an
> OCP entry [which may or may not apply].
I've just done a bk pull which has fetched your 85xx ocp code. I can
copy your config approach and make MPC10X_BRIDGE set FSL_OCP.
As for the updates based on EUMBAR, we do them at the same time. I've
done them in syslib code rather than platform code, because I'm trying
to minimise the board specific code. My goal is for the platform
directory to contain the minimum amount of code necessary to describe
how the board vendor connected the chip. I have the added complication
that the board vendor may not have wired the MPC107 OpenPIC to the IRQ
line of the PowerPC. With the 824x and 85xx they don't have the ability
to make that mistake.
- Adrian Cox
Humboldt Solutions Ltd
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-06-14 14:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-14 10:10 [PATCH][RFC] OCP support for MPC107 and relatives Adrian Cox
2004-06-14 10:23 ` [PATCH][RFC] I2C " Adrian Cox
2004-06-14 11:01 ` Stefan Nickl
2004-06-14 11:37 ` Adrian Cox
2004-06-14 13:01 ` Stefan Nickl
2004-06-14 13:24 ` Adrian Cox
2004-06-14 13:39 ` Kumar Gala
2004-06-14 14:38 ` Pantelis Antoniou
2004-06-14 13:43 ` [PATCH][RFC] OCP " Kumar Gala
2004-06-14 13:59 ` Kumar Gala
2004-06-14 14:47 ` Adrian Cox [this message]
2004-06-14 15:46 ` Matt Porter
2004-06-15 0:38 ` Kumar Gala
2004-06-14 17:05 ` Mark A. Greer
2004-06-15 8:10 ` Adrian Cox
2004-06-15 17:33 ` Mark A. Greer
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=1087224423.7360.323.camel@newt \
--to=adrian@humboldt.co.uk \
--cc=kumar.gala@freescale.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).