u-boot/arch/powerpc/cpu/mpc8xx
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
..
cache.c common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
config.mk ppc: mpc8xx: Drop -mstring from PLATFORM_CPPFLAGS 2021-11-09 14:50:22 +05:30
cpu.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
cpu_init.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
fdt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
immap.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
interrupts.c common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00
Kconfig Convert CONFIG_SYS_IMMR to Kconfig 2021-12-27 08:41:38 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
speed.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
start.S powerpc/mpc8xx: Zero boot_flags arg for calling board_init_f() 2023-02-10 19:31:36 +01:00
traps.c common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00