From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/3] ppc4xx: PPC405GPr add missing EIRR register
Date: Tue, 5 Feb 2008 07:41:18 +0100 [thread overview]
Message-ID: <200802050741.18314.sr@denx.de> (raw)
In-Reply-To: <fo7e92$alu$1@ger.gmane.org>
On Monday 04 February 2008, Niklaus Giger wrote:
> > Why is 405GPr needed here? Is this register not available in 405GP?
>
> I found the following comments in the Migration guide for the PPC405GP ->
> PPC405GPr (PPC405GP_AN2023_405GPrMigration__v1_01.pdf).
>
> > The 405GPr provides the ability to add six external interrupts to the
> > seven already available on the 405GP. This is accomplished by logic that
> > allows routing any of the 24 GPIOs to six previously unused Universal
> > Interrupt Controller (UIC) inputs. For those GPIOs that are shared with
> > other functions, the corresponding I/O must first be configured via
> > CPC0_CR0 to be a GPIO. Table 14 shows how the new GPIO to UIC External
> > Interrupt Routing Register (CPC0_EIRR) logically routes GPIO inputs used
> > as interrupts to the UIC.
>
> Therefore I concluded that it is very PPC405GPr specific. But I did not
> check all other PPC405 variants.
Yes, you seem to be right here. This *is* 405GPr specific. But I don't think
it is worth adding this CONFIG_405GPr. Right now by setting CONFIG_405GP in
your board config file, it should work correctly on boards with 405GP *and*
405GPr. We shouldn't loose this "feature". So please add this define if
CONFIG_405GP is defined. And add a comment that it is only valid for 405GPr.
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2008-02-05 6:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 15:59 [U-Boot-Users] [PATCH 1/3] ppc4xx: PPC405GPr add missing EIRR register Niklaus Giger
2008-02-04 15:59 ` [U-Boot-Users] [PATCH 2/3] ppc4xx: HCU4/5. Fix make O=../xx Niklaus Giger
2008-02-04 15:59 ` [U-Boot-Users] [PATCH 3/3] ppc4xx: HCU4/5. Cleanups Niklaus Giger
2008-02-04 16:20 ` Stefan Roese
2008-02-05 6:46 ` Stefan Roese
2008-02-04 16:14 ` [U-Boot-Users] [PATCH 1/3] ppc4xx: PPC405GPr add missing EIRR register Stefan Roese
2008-02-04 16:25 ` Niklaus Giger
2008-02-05 6:41 ` Stefan Roese [this message]
2008-02-05 6:53 ` Stefan Roese
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=200802050741.18314.sr@denx.de \
--to=sr@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