summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/cpu.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-01 22:55:23 +0100
committerWolfgang Denk <wd@denx.de>2007-11-01 22:55:23 +0100
commit5b746c3ea8c72035621435853d5b5278af0a1011 (patch)
tree87dfb1bbd090602c1e715f25d40b303021d69bf7 /cpu/mpc85xx/cpu.c
parentb31f64343ead9482cd439b1adbe4c34026a641b1 (diff)
parent2fa0dd158c0a3faa6e481169c097e8d7fe662581 (diff)
downloadu-boot-imx-5b746c3ea8c72035621435853d5b5278af0a1011.zip
u-boot-imx-5b746c3ea8c72035621435853d5b5278af0a1011.tar.gz
u-boot-imx-5b746c3ea8c72035621435853d5b5278af0a1011.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'cpu/mpc85xx/cpu.c')
-rw-r--r--cpu/mpc85xx/cpu.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c
index 08e0468..bbc5444 100644
--- a/cpu/mpc85xx/cpu.c
+++ b/cpu/mpc85xx/cpu.c
@@ -163,7 +163,12 @@ int do_reset (cmd_tbl_t *cmdtp, bd_t *bd, int flag, int argc, char *argv[])
* Initiate hard reset in debug control register DBCR0
* Make sure MSR[DE] = 1
*/
- unsigned long val;
+ unsigned long val, msr;
+
+ msr = mfmsr ();
+ msr |= MSR_DE;
+ mtmsr (msr);
+
val = mfspr(DBCR0);
val |= 0x70000000;
mtspr(DBCR0,val);