u-boot/arch/powerpc/cpu
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
..
mpc8xx powerpc/mpc8xx: Zero boot_flags arg for calling board_init_f() 2023-02-10 19:31:36 +01:00
mpc8xxx global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
mpc83xx global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
mpc85xx global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00