[U-Boot] [PATCH v3 01/14] MIPS: initialize board_init_f() argument to zero.

Purna Chandra Mandal purna.mandal at microchip.com
Tue Jan 12 11:18:16 CET 2016


Signed-off-by: Purna Chandra Mandal <purna.mandal at microchip.com>
---

Changes in v3: None
Changes in v2: None

 arch/mips/cpu/start.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S
index e95cdca..35d9650 100644
--- a/arch/mips/cpu/start.S
+++ b/arch/mips/cpu/start.S
@@ -185,6 +185,8 @@ reset:
 	PTR_ADDU t0, k0, GD_MALLOC_BASE	# gd->malloc_base offset
 	sw	sp, 0(t0)
 #endif
+	/* Initialize args to zero */
+	move	a0, zero
 
 	PTR_LA	t9, board_init_f
 	jr	t9
-- 
1.8.3.1



More information about the U-Boot mailing list