Browse Source

Use WatchDog to ensure access sb700 gpio/spk savely for ls3aserver

Original code miss protection for accessing sb700 gpio2/spk, Now
place WatchDogClose code after beep code.

Target:Bonito3aserver
master
Xiaqichao 13 years ago
committed by wanghongmei
parent
commit
5cfb172765
  1. 2
      Targets/Bonito3aserver/Bonito/start.S

2
Targets/Bonito3aserver/Bonito/start.S

@ -1192,7 +1192,6 @@ gs_2f_v3_ddr2_cfg:
WatchDog_Enable; WatchDog_Enable;
#include "loongson3_fixup.S" #include "loongson3_fixup.S"
WatchDog_Close;
//begin :Beep on -> delay -> Beep off //begin :Beep on -> delay -> Beep off
bal beep_on bal beep_on
@ -1206,6 +1205,7 @@ gs_2f_v3_ddr2_cfg:
bal beep_off bal beep_off
nop nop
//end //end
WatchDog_Close;
########################################## ##########################################
//let other cores going //let other cores going

Loading…
Cancel
Save