From 42a87d5d5ee55aaf451056ea82c2ca869970d5ba Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 3 Mar 2015 13:06:03 +0100 Subject: [PATCH] start.S: remove double full reset marker The Hornet 1.1 seems to have a stability bug when doing full reset. Atheros added a double full reset mechanism as workaround. It's using a magic to know if they already reset twice. For uncompressed u-boot's they forgotten to remove they magic after booting normal. The result is a single reset when doing a "warm" reset. --- u-boot/cpu/mips/start.S | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/u-boot/cpu/mips/start.S b/u-boot/cpu/mips/start.S index da3d6c5c6a..7e9fdb9ff2 100644 --- a/u-boot/cpu/mips/start.S +++ b/u-boot/cpu/mips/start.S @@ -314,7 +314,10 @@ do_reset_normal: sw t9, 0(t7) bne t8, t9, do_reset // if 0xb8050024 == 0x19 , go to do_cpld nop - b normal_path + li t9, 0xffffffff + sw t9, 0(t7) + b normal_path + nop do_reset: li t7, 0xb806001c // load reset register 0x1806001c