Browse Source

3aserver watchdog_close at the begining move down and do by only by core 0 now.

Change-Id: I08425015b737e478c3ae605db67542db527140c9
Signed-off-by: QiaoChong <qiaochong@loongson.cn>
master
QiaoChong 9 years ago
committed by Chong Qiao
parent
commit
d9cf52347f
  1. 23
      Targets/Bonito3aserver/Bonito/start.S

23
Targets/Bonito3aserver/Bonito/start.S

@ -83,17 +83,6 @@ stack = start - 0x4000 /* Place PMON stack below PMON start in RAM */
la gp, _gp
#ifdef DDR3_DIMM
#ifdef USE_780E_VGA
GPIO_CLEAR_OUTPUT(0x1<<2);
#elif defined(USE_BMC)
GPIO_SET_OUTPUT(0x1<<2);
#endif
#else
GPIOLED_SET(0xd)
#endif
WatchDog_Close
bal locate /* Get current execute address */
nop
@ -278,6 +267,18 @@ locate:
bne t0, a0, slave_main
nop
#ifdef DDR3_DIMM
#ifdef USE_780E_VGA
GPIO_CLEAR_OUTPUT(0x1<<2);
#elif defined(USE_BMC)
GPIO_SET_OUTPUT(0x1<<2);
#endif
#else
GPIOLED_SET(0xd)
#endif
WatchDog_Close
bal initserial
nop

Loading…
Cancel
Save