Searched hist:e83a7e9453295753e84ab51221d167e87cac67aa (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/ |
| H A D | start.S | e83a7e9453295753e84ab51221d167e87cac67aa Fri Oct 03 09:45:23 UTC 2014 Valentin Longchamp <valentin.longchamp@keymile.com> 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: Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by: York Sun <yorksun@freescale.com>
|