diff options
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/arm925t/start.S | 7 | ||||
-rw-r--r-- | cpu/mpc8xx/start.S | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/cpu/arm925t/start.S b/cpu/arm925t/start.S index a9241bcb868..e8353f2a647 100644 --- a/cpu/arm925t/start.S +++ b/cpu/arm925t/start.S @@ -413,10 +413,9 @@ fiq: .globl reset_cpu reset_cpu: ldr r1, rstctl1 /* get clkm1 reset ctl */ - mov r3, #0x0 - strh r3, [r1] /* clear it */ - mov r3, #0x8 - strh r3, [r1] /* force dsp+arm reset */ + mov r3, #0x3 /* dsp_en + arm_rst = global reset */ + strh r3, [r1] /* force reset */ + mov r0, r0 _loop_forever: b _loop_forever rstctl1: diff --git a/cpu/mpc8xx/start.S b/cpu/mpc8xx/start.S index 893c0f810fa..cdd549fc74f 100644 --- a/cpu/mpc8xx/start.S +++ b/cpu/mpc8xx/start.S @@ -76,7 +76,7 @@ GOT_ENTRY(__init_end) GOT_ENTRY(_end) GOT_ENTRY(__bss_start) -#if defined(CONFIG_FADS) || defined(CONFIG_ICU862) +#if defined(CONFIG_ICU862) GOT_ENTRY(environment) #endif END_GOT @@ -617,7 +617,7 @@ clear_bss: * Now clear BSS segment */ lwz r3,GOT(__bss_start) -#if defined(CONFIG_FADS) || defined(CONFIG_ICU862) +#if defined(CONFIG_ICU862) /* * For the FADS - the environment is the very last item in flash. * The real .bss stops just before environment starts, so only |