[PATCH 2/9] reenable-bss-cleardown.patch

Andy Green andy at openmoko.com
Tue Aug 19 16:56:12 CEST 2008


Left BSS zeroing disabled from previous debugging, re-enable it

Signed-off-by: Andy Green <andy at openmoko.com>
---

 src/start.S |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/start.S b/src/start.S
index 3a98bef..ef7ff2d 100644
--- a/src/start.S
+++ b/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:




More information about the openmoko-kernel mailing list