u-boot/arch/powerpc/cpu/mpc5xxx
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
..
config.mk powerpc: remove redundant CPU definition 2014-07-30 14:42:03 -04:00
cpu.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cpu_init.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
firmware_sc_task_bestcomm.impl.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
i2c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ide.c powerpc: manroland: remove uc100, uc101, mucmc52, hmi1001 support 2015-01-05 12:08:51 -05:00
interrupts.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
io.S Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
loadtask.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
Makefile powerpc: add 2 common dcache assembly functions 2015-05-04 09:24:42 -07:00
pci_mpc5200.c powerpc: remove icecube_5200, Lite5200, cpci5200, mecp5200, pf5200 2015-01-23 16:56:09 -05:00
serial.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
speed.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
spl_boot.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
start.S powerpc, mpc5xxx: fix missing bootflag init 2016-01-05 08:33:44 -08:00
traps.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot-customlayout.lds Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot-spl.lds Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot.lds powerpc: Finish updating u-boot*lds scripts for newer binutils 2015-11-10 09:20:29 -05:00
usb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
usb_ohci.c include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
usb_ohci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00