From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 14 Nov 2014 13:29:14 -0800 Subject: [U-Boot] [PATCH 1/2] powerpc/mpc83xx: Zero boot_flags arg for calling board_init_f() In-Reply-To: <1412329524-31265-1-git-send-email-valentin.longchamp@keymile.com> References: <1412329524-31265-1-git-send-email-valentin.longchamp@keymile.com> Message-ID: <5466742A.3060801@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/03/2014 02:45 AM, Valentin Longchamp wrote: > The argument boot_flags of board_init_f() is not used at all in the > powerpc specific board.c init sequence. Now with the generic init > sequence, this boot_flags arg is used by board_init_f(). > > This patch sets the r3 register that is used to pass the boot_flags > argument from the start.S board_init_f() call to 0 prior to the function > call to avoid unknown content to end up in gd->flags. > > Signed-off-by: Valentin Longchamp > --- Applied to u-boot-mpc85xx master. Thanks. York