public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] different definition of struct bd_info between U-Boot and Linux
@ 2007-05-23 16:11 Linux OneAccess
  2007-05-24 10:35 ` Stefan Roese
  0 siblings, 1 reply; 3+ messages in thread
From: Linux OneAccess @ 2007-05-23 16:11 UTC (permalink / raw)
  To: u-boot

Hi all,

I was figuring out how to pass board info from U-Boot to Linux and
I saw that Linux references the bd_info structure.

I'm not sure, however, which definition to use:
In U-Boot, struct bd_info is defined in include/asm/u-boot.h
In Linux, it's defined in include/asm-ppc/ppcboot.h.

These two are somewhat different (different #ifdefs) which means
the first few members (RAM size and such) are the same, but from
then on it can diverge.

Furthermore, in Linux there are several boards that define their
own structure for this. Should we use the ppcboot.h definition,
or is it there an intention to push the u-boot.h to the Linux tree one day?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070523/bee420f8/attachment.htm 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-24 12:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-23 16:11 [U-Boot-Users] different definition of struct bd_info between U-Boot and Linux Linux OneAccess
2007-05-24 10:35 ` Stefan Roese
2007-05-24 12:03   ` Linux OneAccess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox