diff --git a/Targets/Bonito3a780e/Bonito/start.S b/Targets/Bonito3a780e/Bonito/start.S index 7c9af6db..355fa911 100644 --- a/Targets/Bonito3a780e/Bonito/start.S +++ b/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 diff --git a/Targets/Bonito3aserver/Bonito/start.S b/Targets/Bonito3aserver/Bonito/start.S index 38fc21f3..3855b1a4 100644 --- a/Targets/Bonito3aserver/Bonito/start.S +++ b/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 ##########################################