Browse Source

fix missing label when DEBUG_DDR is open

Change-Id: I25e062f959b32ccc44b9f02543787c691cc06175
master
Huang Pei 10 years ago
parent
commit
8e4e297210
  1. 4
      Targets/Bonito3a780e/Bonito/start.S
  2. 13
      Targets/Bonito3aserver/Bonito/start.S

4
Targets/Bonito3a780e/Bonito/start.S

@ -527,11 +527,9 @@ wait_l2_ok:
nop
and v0, v0, 0xf
dli a1, 0x1
bgt v0, a1, 3f
bgt v0, a1, 2f
nop
dli s1, 0x0010000080000000 //NODE 0, start from 0x80000000
PRINTSTR("\r\ndefault s1 = 0x");
dsrl a0, s1, 32

13
Targets/Bonito3aserver/Bonito/start.S

@ -561,19 +561,15 @@ MEM_INIT_DONE:
##########################################
#ifdef DEBUG_DDR
#if 1
PRINTSTR("\r\nDo test?(0xf: skip): ")
bal inputaddress
nop
and v0, v0, 0xf
dli a1, 0x1
bgt v0, a1, 3f
bgt v0, a1, 2f
nop
#endif
dli s1, 0x0004000080000000 //NODE 0, start from 0x80000000
#if 1
PRINTSTR("\r\ndefault s1 = 0x");
dsrl a0, s1, 32
bal hexserial
@ -588,8 +584,6 @@ MEM_INIT_DONE:
beqz v0, 1f
nop
move s1, v0
1:
#endif
1:
dli t1, 0x0010
bal test_mem
@ -606,12 +600,7 @@ MEM_INIT_DONE:
nop
PRINTSTR(" Error found!!\r\n")
2:
#if 0
b 1b
nop
#endif
3:
#endif
##########################################

Loading…
Cancel
Save