u-boot/arch/powerpc/cpu
Heiko Schocher 6a655d8e34 powerpc, mpc5xxx: fix missing bootflag init
since:
commit: f05ad9ba "Add a way to skip relocation"

tqm5200s board fails to boot. Reason is that
board_init_f has a function parameter bootflag,
which is not setup in
in arch/powerpc/cpu/mpc5xxx/start.S _start

So board_init_f gets a undefined bootflag,
currently the gd pointer address. Unfortunately
this address sets the GD_FLG_SKIP_RELOC bit,
so u-boot code gets not relocated and u-boot
does not boot ...

Init bootflag with 0, and tqm5200 boots fine again.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <yorksun@freescale.com>
2016-01-05 08:33:44 -08:00
..
mpc5xx powerpc: Finish updating u-boot*lds scripts for newer binutils 2015-11-10 09:20:29 -05:00
mpc5xxx powerpc, mpc5xxx: fix missing bootflag init 2016-01-05 08:33:44 -08:00
mpc8xx Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
mpc8xxx Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
mpc83xx mpc83xx: Add strider board 2015-11-12 18:03:48 -05:00
mpc85xx fsl_*_serdes.c: Modify memset call in serdes_init 2015-12-13 18:27:29 -08:00
mpc86xx powerpc: Finish updating u-boot*lds scripts for newer binutils 2015-11-10 09:20:29 -05:00
mpc512x powerpc: Finish updating u-boot*lds scripts for newer binutils 2015-11-10 09:20:29 -05:00
mpc8260 Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
ppc4xx PPC4xx: Create "liebherr" vendor directory 2015-11-30 12:50:29 +01:00
Makefile Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00