]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc: mpc52xx: Clear GD in the main U-Boot stage for SPL usage
authorStefan Roese <sr@denx.de>
Wed, 19 Nov 2014 08:37:48 +0000 (09:37 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 19 Nov 2014 12:08:14 +0000 (13:08 +0100)
commit5fc3494fdb00dd7894090ce0c21936815a575558
tree2e74ea32d67e67d6eafa4e5eaac061939bbe56fb
parentc07e8da1a47f795d01ce2c26996b262869c8638f
powerpc: mpc52xx: Clear GD in the main U-Boot stage for SPL usage

When an MPC5200 based board is used with SPL support, the main
U-Boot needs to clear the GD (global data) struct again.

Otherwise the generic board init code in board_init_f (when
CONFIG_SYS_GENERIC_BOARD is defined) will not initialize all
GD variables correctly. Resulting in a hangup on the a4m2k
board.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
arch/powerpc/cpu/mpc5xxx/start.S