[Linux-galileo] ev64260 bi_rec patch

Tom Rini trini at kernel.crashing.org
Tue Apr 2 04:53:35 EST 2002


On Mon, Apr 01, 2002 at 10:09:37AM -0500, Mark A. Greer wrote:
> Tom Rini wrote:
>
> > OK.  The problem is that the original PPC location of the bi_recs was
>
> Acutally, my problem was that I misread his respone.  I thought he was trying to
> say the find_bootinfo was in the bootloader or something like that.
>
> > So the always-correct call for platform_init() is:
> > parse_bootinfo((struct bi_record *) (r3 + KERNELBASE));
>
> Is there a reason we shouldn't just fix find_bootinfo then?

The intent of parse_bootinfo taking a location was to allow it to be a
per-platform thing.  Eg pmac/chrp/prep don't use r3, and can't always
anyhow.  Everything else uses r3 just because it's where the
bootloader/wrapper caneasily put things.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list