[U-Boot-Users] Global vars question -- Solved

Wolfgang Denk wd at denx.de
Fri Jul 15 18:52:02 CEST 2005


In message <42D7DE58.3060005 at ntlworld.com> you wrote:
>
> By default, the gd_t pointer (gd) remains pointing to init RAM, not to 
> the relocated RAM on 7xx/74xx. I had to explicitly set gd to point to 
> the relocated version in my after_reloc() function and ensure the 
> correct value is passed to after_reloc() by start.S (relocate_code).
> 
> Seems odd this is not the default.

Care to submit a patch?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He had quite a powerful intellect, but it  was  as  powerful  like  a
locomotive,  and  ran on rails and was therefore almost impossible to
steer.                          - Terry Pratchett, _Lords and Ladies_




More information about the U-Boot mailing list