<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:9pt;font-family:Sans Serif">
<p>post/cpu/ppc4xx/spr.c contained a few checks for registers only present </p>
<p>for PPC440 and derivates processor.</p>
<p></p>
<p>Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com></p>
<p>---</p>
<p> post/cpu/ppc4xx/spr.c | 6 ++++++</p>
<p> 1 files changed, 6 insertions(+), 0 deletions(-)</p>
<p></p>
<p>diff --git a/post/cpu/ppc4xx/spr.c b/post/cpu/ppc4xx/spr.c</p>
<p>index 3e74634..c12e378 100644</p>
<p>--- a/post/cpu/ppc4xx/spr.c</p>
<p>+++ b/post/cpu/ppc4xx/spr.c</p>
<p>@@ -80,7 +80,9 @@ static struct {</p>
<p>         {0x107,        "SPRG7",        0x00000000,        0x00000000},</p>
<p>         {0x10c,        "TBL",                0x00000000,        0x00000000},</p>
<p>         {0x10d,        "TBU",                0x00000000,        0x00000000},</p>
<p>+#ifdef CONFIG_440</p>
<p>         {0x11e,        "PIR",                0x0000000f,        0x00000000},</p>
<p>+#endif</p>
<p>         {0x130,        "DBSR",                0x00000000,        0x00000000},</p>
<p>         {0x134,        "DBCR0",        0x00000000,        0x00000000},</p>
<p>         {0x135,        "DBCR1",        0x00000000,        0x00000000},</p>
<p>@@ -95,6 +97,7 @@ static struct {</p>
<p>         {0x13f,        "DVC2",                0x00000000,        0x00000000},</p>
<p>         {0x150,        "TSR",                0x00000000,        0x00000000},</p>
<p>         {0x154,        "TCR",                0x00000000,        0x00000000},</p>
<p>+#ifdef CONFIG_440</p>
<p>         {0x190,        "IVOR0",        0x0000fff0,        0x00000100},</p>
<p>         {0x191,        "IVOR1",        0x0000fff0,        0x00000200},</p>
<p>         {0x192,        "IVOR2",        0x0000fff0,        0x00000300},</p>
<p>@@ -111,6 +114,7 @@ static struct {</p>
<p>         {0x19d,        "IVOR13",        0x0000fff0,        0x00001300},</p>
<p>         {0x19e,        "IVOR14",        0x0000fff0,        0x00001400},</p>
<p>         {0x19f,        "IVOR15",        0x0000fff0,        0x00002000},</p>
<p>+#endif</p>
<p>         {0x23a,        "MCSRR0",        0x00000000,        0x00000000},</p>
<p>         {0x23b,        "MCSRR1",        0x00000000,        0x00000000},</p>
<p>         {0x23c,        "MCSR",                0x00000000,        0x00000000},</p>
<p>@@ -131,8 +135,10 @@ static struct {</p>
<p>         {0x395,        "DTV1",                0x00000000,        0x00000000},</p>
<p>         {0x396,        "DTV2",                0x00000000,        0x00000000},</p>
<p>         {0x397,        "DTV3",                0x00000000,        0x00000000},</p>
<p>+#ifdef CONFIG_440</p>
<p>         {0x398,        "DVLIM",        0x0fc1f83f,        0x0001f800},</p>
<p>         {0x399,        "IVLIM",        0x0fc1f83f,        0x0001f800},</p>
<p>+#endif</p>
<p>         {0x39b,        "RSTCFG",        0x00000000,        0x00000000},</p>
<p>         {0x39c,        "DCDBTRL",        0x00000000,        0x00000000},</p>
<p>         {0x39d,        "DCDBTRH",        0x00000000,        0x00000000},</p>
<p>-- </p>
<p>1.5.2.5</p>
<p></p>
<p></p>
<p>-- </p>
<p>Niklaus Giger</p>
<p>Netstal Maschinen AG</p>
<p>CH-8752 Naefels</p>
</body></html>