[U-Boot-Users] [PATCH 1/1] POST PPC4xx/spr IVPR only if PPC440

Niklaus Giger niklaus.giger at netstal.com
Fri Jul 18 11:22:23 CEST 2008


Signed-off-by: Niklaus Giger <niklaus.giger at 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





More information about the U-Boot mailing list