From 126fef5514b2086ece34326423236b0c43e96bcd Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 28 Nov 2008 10:16:36 +0000 Subject: [PATCH] reenable-bss-cleardown.patch Left BSS zeroing disabled from previous debugging, re-enable it Signed-off-by: Andy Green --- qiboot/src/start.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qiboot/src/start.S b/qiboot/src/start.S index 3a98bef..ef7ff2d 100644 --- a/qiboot/src/start.S +++ b/qiboot/src/start.S @@ -175,7 +175,7 @@ stack_setup: ldr r0, _TEXT_BASE /* upper 128 KiB: relocated uboot */ sub r0, r0, #CFG_GBL_DATA_SIZE /* bdinfo */ sub sp, r0, #12 /* leave 3 words for abort-stack */ -#if 0 + clear_bss: ldr r0, _bss_start /* find start of bss segment */ ldr r1, _bss_end /* stop here */ @@ -186,7 +186,6 @@ clbss_l: add r0, r0, #4 cmp r0, r1 ble clbss_l -#endif /* we are going to jump into the C part of the init now */ spin: