[U-Boot] [PATCH 3/3] powerpc: mpc52xx: Clear GD in the main	U-Boot stage for SPL usage
    Wolfgang Denk 
    wd at denx.de
       
    Wed Nov 19 13:09:49 CET 2014
    
    
  
Dear Stefan Roese,
In message <1416386268-31398-3-git-send-email-sr at denx.de> you wrote:
> 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 at denx.de>
> Cc: Wolfgang Denk <wd at denx.de>
> ---
>  arch/powerpc/cpu/mpc5xxx/start.S | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
Applied, thanks.
Best regards,
Wolfgang Denk
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Do not simplify the design of a program if a way can be found to make
it complex and wonderful.
    
    
More information about the U-Boot
mailing list