From: Purna Chandra Mandal Date: Thu, 21 Jan 2016 14:32:51 +0000 (+0530) Subject: MIPS: initialize board_init_f() argument to zero. X-Git-Tag: v2016.03-rc1~14^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a62790997f9a2e50a168c73e752a471590e8cf4f;p=u-boot MIPS: initialize board_init_f() argument to zero. Argument boot_flags of board_init_f() should be set to 0 as $a0 may be utilized in lowlevel_init() or mips_cache_reset() or previous stage boot-loader. Signed-off-by: Purna Chandra Mandal Signed-off-by: Daniel Schwierzeck --- diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S index e95cdca61e..2aa2dcbac1 100644 --- a/arch/mips/cpu/start.S +++ b/arch/mips/cpu/start.S @@ -185,7 +185,7 @@ reset: PTR_ADDU t0, k0, GD_MALLOC_BASE # gd->malloc_base offset sw sp, 0(t0) #endif - + move a0, zero # a0 <-- boot_flags = 0 PTR_LA t9, board_init_f jr t9 move ra, zero