summaryrefslogtreecommitdiff
path: root/post/cpu
diff options
context:
space:
mode:
authorNiklaus Giger <niklaus.giger@netstal.com>2008-07-18 11:22:23 +0200
committerWolfgang Denk <wd@denx.de>2008-07-20 22:58:46 +0200
commit0043ac55024963295fc79b39af85b6dc3b261e17 (patch)
tree7c1decfcc86a8e172a0861922ef6b492db1d3ff9 /post/cpu
parent20a71d93d62add9c5330a0b9895a497995ffaec7 (diff)
downloadu-boot-imx-0043ac55024963295fc79b39af85b6dc3b261e17.zip
u-boot-imx-0043ac55024963295fc79b39af85b6dc3b261e17.tar.gz
u-boot-imx-0043ac55024963295fc79b39af85b6dc3b261e17.tar.bz2
POST PPC4xx/spr IVPR only if PPC440
The SPR IVPR register is only present (as far as I know) for processors with a PPC440 core. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'post/cpu')
-rw-r--r--post/cpu/ppc4xx/spr.c2
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},