u-boot/arch/powerpc
Christophe Leroy 2eed0c25f6 powerpc/mpc8xx: Zero boot_flags arg for calling board_init_f()
Copied from e83a7e9453 ("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: Christophe Leroy <christophe.leroy@csgroup.eu>
Fixes: 09f3ca3dd5 ("arm, powerpc: select SYS_GENERIC_BOARD")
2023-02-10 19:31:36 +01:00
..
cpu powerpc/mpc8xx: Zero boot_flags arg for calling board_init_f() 2023-02-10 19:31:36 +01:00
dts powerpc: dts: keymile: Deduplicate binman code 2023-01-02 14:06:31 -05:00
include/asm global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
lib global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
config.mk Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig 2022-12-22 10:31:48 -05:00
Kconfig Convert CONFIG_HOSTNAME et al to Kconfig 2022-12-22 10:31:48 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00