public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH]ppc4xx: post/spr IVPR only for CONFIG_440
@ 2008-07-18  9:22 Niklaus Giger
  2008-07-18  9:22 ` [U-Boot-Users] [PATCH 1/1] POST PPC4xx/spr IVPR only if PPC440 Niklaus Giger
  0 siblings, 1 reply; 4+ messages in thread
From: Niklaus Giger @ 2008-07-18  9:22 UTC (permalink / raw)
  To: u-boot

The SPR IVPR register is only present (as far as I know) for processors with a PPC440 core.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] [PATCH 1/1] POST PPC4xx/spr IVPR only if PPC440
  2008-07-18  9:22 [U-Boot-Users] [PATCH]ppc4xx: post/spr IVPR only for CONFIG_440 Niklaus Giger
@ 2008-07-18  9:22 ` Niklaus Giger
  2008-07-18  9:34   ` Stefan Roese
  2008-07-20 20:59   ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Niklaus Giger @ 2008-07-18  9:22 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
---
 post/cpu/ppc4xx/spr.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/post/cpu/ppc4xx/spr.c b/post/cpu/ppc4xx/spr.c
index 6152eb2..110df6e 100644
--- a/post/cpu/ppc4xx/spr.c
+++ b/post/cpu/ppc4xx/spr.c
@@ -76,7 +76,9 @@ static struct {
 	{0x3b,	"CSRR1",	0x00000000,	0x00000000},
 	{0x3d,	"DEAR",		0x00000000,	0x00000000},
 	{0x3e,	"ESR",		0x00000000,	0x00000000},
+#ifdef CONFIG_440
 	{0x3f,	"IVPR",		0xffff0000,	0x00000000},
+#endif
 	{0x100,	"USPRG0",	0x00000000,	0x00000000},
 	{0x104,	"SPRG4",	0x00000000,	0x00000000},
 	{0x105,	"SPRG5",	0x00000000,	0x00000000},
-- 
1.5.4.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot-Users] [PATCH 1/1] POST PPC4xx/spr IVPR only if PPC440
  2008-07-18  9:22 ` [U-Boot-Users] [PATCH 1/1] POST PPC4xx/spr IVPR only if PPC440 Niklaus Giger
@ 2008-07-18  9:34   ` Stefan Roese
  2008-07-20 20:59   ` Wolfgang Denk
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2008-07-18  9:34 UTC (permalink / raw)
  To: u-boot

On Friday 18 July 2008, Niklaus Giger wrote:
> Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>

Acked-by: Stefan Roese <sr@denx.de>

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] 4+ messages in thread

* [U-Boot-Users] [PATCH 1/1] POST PPC4xx/spr IVPR only if PPC440
  2008-07-18  9:22 ` [U-Boot-Users] [PATCH 1/1] POST PPC4xx/spr IVPR only if PPC440 Niklaus Giger
  2008-07-18  9:34   ` Stefan Roese
@ 2008-07-20 20:59   ` Wolfgang Denk
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2008-07-20 20:59 UTC (permalink / raw)
  To: u-boot

In message <1216372944193-git-send-email-niklaus.giger@netstal.com> you wrote:
> Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
> ---
>  post/cpu/ppc4xx/spr.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The computer programmer is a creator of universes for which he alone
is responsible. Universes of virtually unlimited  complexity  can  be
created  in  the  form  of  computer  programs." - Joseph Weizenbaum,
_Computer Power and Human Reason_

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-20 20:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18  9:22 [U-Boot-Users] [PATCH]ppc4xx: post/spr IVPR only for CONFIG_440 Niklaus Giger
2008-07-18  9:22 ` [U-Boot-Users] [PATCH 1/1] POST PPC4xx/spr IVPR only if PPC440 Niklaus Giger
2008-07-18  9:34   ` Stefan Roese
2008-07-20 20:59   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox