* [U-Boot-Users] [PATCH] ppc_4xx:Fix post spr.c for PPC405
@ 2008-01-14 13:04 Niklaus Giger
2008-01-14 14:51 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: Niklaus Giger @ 2008-01-14 13:04 UTC (permalink / raw)
To: u-boot
post/cpu/ppc4xx/spr.c contained a few checks for registers only present
for PPC440 and derivates processor.
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
---
post/cpu/ppc4xx/spr.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/post/cpu/ppc4xx/spr.c b/post/cpu/ppc4xx/spr.c
index 3e74634..c12e378 100644
--- a/post/cpu/ppc4xx/spr.c
+++ b/post/cpu/ppc4xx/spr.c
@@ -80,7 +80,9 @@ static struct {
{0x107, "SPRG7", 0x00000000, 0x00000000},
{0x10c, "TBL", 0x00000000, 0x00000000},
{0x10d, "TBU", 0x00000000, 0x00000000},
+#ifdef CONFIG_440
{0x11e, "PIR", 0x0000000f, 0x00000000},
+#endif
{0x130, "DBSR", 0x00000000, 0x00000000},
{0x134, "DBCR0", 0x00000000, 0x00000000},
{0x135, "DBCR1", 0x00000000, 0x00000000},
@@ -95,6 +97,7 @@ static struct {
{0x13f, "DVC2", 0x00000000, 0x00000000},
{0x150, "TSR", 0x00000000, 0x00000000},
{0x154, "TCR", 0x00000000, 0x00000000},
+#ifdef CONFIG_440
{0x190, "IVOR0", 0x0000fff0, 0x00000100},
{0x191, "IVOR1", 0x0000fff0, 0x00000200},
{0x192, "IVOR2", 0x0000fff0, 0x00000300},
@@ -111,6 +114,7 @@ static struct {
{0x19d, "IVOR13", 0x0000fff0, 0x00001300},
{0x19e, "IVOR14", 0x0000fff0, 0x00001400},
{0x19f, "IVOR15", 0x0000fff0, 0x00002000},
+#endif
{0x23a, "MCSRR0", 0x00000000, 0x00000000},
{0x23b, "MCSRR1", 0x00000000, 0x00000000},
{0x23c, "MCSR", 0x00000000, 0x00000000},
@@ -131,8 +135,10 @@ static struct {
{0x395, "DTV1", 0x00000000, 0x00000000},
{0x396, "DTV2", 0x00000000, 0x00000000},
{0x397, "DTV3", 0x00000000, 0x00000000},
+#ifdef CONFIG_440
{0x398, "DVLIM", 0x0fc1f83f, 0x0001f800},
{0x399, "IVLIM", 0x0fc1f83f, 0x0001f800},
+#endif
{0x39b, "RSTCFG", 0x00000000, 0x00000000},
{0x39c, "DCDBTRL", 0x00000000, 0x00000000},
{0x39d, "DCDBTRH", 0x00000000, 0x00000000},
--
1.5.2.5
--
Niklaus Giger
Netstal Maschinen AG
CH-8752 Naefels
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080114/9dad8b64/attachment.htm
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] ppc_4xx:Fix post spr.c for PPC405
2008-01-14 13:04 [U-Boot-Users] [PATCH] ppc_4xx:Fix post spr.c for PPC405 Niklaus Giger
@ 2008-01-14 14:51 ` Stefan Roese
2008-01-16 12:41 ` Niklaus Giger
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2008-01-14 14:51 UTC (permalink / raw)
To: u-boot
On Monday 14 January 2008, Niklaus Giger wrote:
> post/cpu/ppc4xx/spr.c contained a few checks for registers only present
> for PPC440 and derivates processor.
>
> Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
After applying your patch via "git-am" I noticed the following log message
using "git-log":
commit a2a47d9203a1249637d16e5fc4a1e7ed7bcf8fc2
Author: Niklaus Giger <niklausgiger@gmx.ch>
Date: Mon Jan 14 14:04:42 2008 +0100
ppc_4xx:Fix post spr.c for PPC405
--Boundary-01=_q31iH91amNpeawe
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
post/cpu/ppc4xx/spr.c contained a few checks for registers only present
for PPC440 and derivates processor.
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Somehow your mailer has corrupted the commit text. I'll fix this manually. But
please make sure this doesn't happen again. I strongly suggest that you look
into "git-send-email" and it's configuration. This makes sending patches real
easy and errors via mailer are impossible.
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
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] ppc_4xx:Fix post spr.c for PPC405
2008-01-14 14:51 ` Stefan Roese
@ 2008-01-16 12:41 ` Niklaus Giger
0 siblings, 0 replies; 3+ messages in thread
From: Niklaus Giger @ 2008-01-16 12:41 UTC (permalink / raw)
To: u-boot
Am Montag 14 Januar 2008 15:51:57 schrieb Stefan Roese:
> On Monday 14 January 2008, Niklaus Giger wrote:
> > post/cpu/ppc4xx/spr.c contained a few checks for registers only present
> > for PPC440 and derivates processor.
<..>
> Somehow your mailer has corrupted the commit text. I'll fix this manually. But
> please make sure this doesn't happen again. I strongly suggest that you look
> into "git-send-email" and it's configuration. This makes sending patches real
> easy and errors via mailer are impossible.
Lieber Stefan
Ich habe mir Deine Empfehlung zu Herzen genommen, aber erst nachdem ich
das Packet msmtp installiert und konfiguriert habe, konnte ich git-send-email
zum Verschicken via meiner GMX-Adresse bringen. (Und meinen ellenlangen
Disclaimer will ich U-Boot und Wolfgang nicht zumuten.)
Werde deshalb bald mit dem submitten wieder beginnen.
Gruss
--
Niklaus Giger
Netstal Maschinen AG
CH-8752 Naefels
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-16 12:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-14 13:04 [U-Boot-Users] [PATCH] ppc_4xx:Fix post spr.c for PPC405 Niklaus Giger
2008-01-14 14:51 ` Stefan Roese
2008-01-16 12:41 ` Niklaus Giger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox