Skip to content
Snippets Groups Projects
Commit e83a7e94 authored by Valentin Longchamp's avatar Valentin Longchamp Committed by York Sun
Browse files

powerpc/mpc83xx: Zero boot_flags arg for calling board_init_f()


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: default avatarValentin Longchamp <valentin.longchamp@keymile.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 7ac1a24a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment