[U-Boot] [PATCH 04/12] arm: spear: Drop false comment

Miquel Raynal miquel.raynal at bootlin.com
Tue May 7 12:18:46 UTC 2019


SPL BSS lies in SRAM and is actually initialized to 0 by the SPL in
arch/arm/lib/crt0.S:_main(), which is called by cpu_init_crit.

Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
---
 arch/arm/cpu/arm926ejs/spear/start.S | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/cpu/arm926ejs/spear/start.S b/arch/arm/cpu/arm926ejs/spear/start.S
index e69deb7926..4395985549 100644
--- a/arch/arm/cpu/arm926ejs/spear/start.S
+++ b/arch/arm/cpu/arm926ejs/spear/start.S
@@ -39,11 +39,6 @@ reset:
  */
 	stmdb	sp!, {r0-r12,r14}
 	bl	cpu_init_crit
-/*
- * Clearing bss area is not done in SPL.
- * BSS area lies in the DDR location which is not yet initialized
- * bss is assumed to be uninitialized.
- */
 	ldmia	sp!, {r0-r12,pc}
 
 /*
-- 
2.19.1



More information about the U-Boot mailing list