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.
This commit is contained in:
Alexander Couzens 2015-03-03 13:06:03 +01:00
parent 613625ad89
commit 42a87d5d5e
1 changed files with 4 additions and 1 deletions

View File

@ -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