Skip to content
Snippets Groups Projects
Commit 5fc3494f authored by Stefan Roese's avatar Stefan Roese Committed by Wolfgang Denk
Browse files

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: default avatarStefan Roese <sr@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
parent c07e8da1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment