On 08/23/2012 01:12 AM, Stefan Roese wrote:

> This patch enables the SPL framework to be used on powerpc platforms
> and not only ARM.
[snip]
> +#ifdef CONFIG_ARM
>       gd = &gdata;
> +#endif

So, here's what I don't understand.  On ARM, in general, we can't rely
on the global data pointer register (r8) to be set to a useful value, so
we do the above to ensure it points to something useful.  Are you always
able to rely on r2 it looks like pointing to something useful?  Or do
you take care of this much earlier on in powerpc?  Thanks!

-- 
Tom

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to