[U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc
Tom Rini
trini at ti.com
Thu Aug 23 23:39:35 CEST 2012
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
More information about the U-Boot
mailing list