summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/cpu_init.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-08-02 14:43:57 +0200
committerWolfgang Denk <wd@pollux.(none)>2005-08-02 14:43:57 +0200
commit7d939f89471d05ee40764156dd7147bca148c068 (patch)
treed486d08a91b344617454ee501678f184595d6ba3 /cpu/ppc4xx/cpu_init.c
parent0f18cb6eef469688a1c57647e486c1341c045b9f (diff)
parent7770ce47e4904b295632cae95f24fa6f62eb9e32 (diff)
Merge with /home/sr/git/u-boot
Diffstat (limited to 'cpu/ppc4xx/cpu_init.c')
-rw-r--r--cpu/ppc4xx/cpu_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/ppc4xx/cpu_init.c b/cpu/ppc4xx/cpu_init.c
index 25508e75056..74f013520bb 100644
--- a/cpu/ppc4xx/cpu_init.c
+++ b/cpu/ppc4xx/cpu_init.c
@@ -188,7 +188,11 @@ cpu_init_f (void)
unsigned long val;
val = mfspr(tcr);
+#if defined(CONFIG_440_EP) || defined(CONFIG_440_GR)
+ val |= 0xb8000000; /* generate system reset after 1.34 seconds */
+#else
val |= 0xf0000000; /* generate system reset after 2.684 seconds */
+#endif
mtspr(tcr, val);
val = mfspr(tsr);