From 8e4e29721010dfa2d6e5a7e6c604f5e706584ea8 Mon Sep 17 00:00:00 2001 From: Huang Pei Date: Mon, 4 May 2015 20:05:59 +0800 Subject: [PATCH] fix missing label when DEBUG_DDR is open Change-Id: I25e062f959b32ccc44b9f02543787c691cc06175 --- Targets/Bonito3a780e/Bonito/start.S | 4 +--- Targets/Bonito3aserver/Bonito/start.S | 13 +------------ 2 files changed, 2 insertions(+), 15 deletions(-) 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 ##########################################