[LinuxBIOS] MC struct

Stefan Reinauer stepan at coresystems.de
Thu Jun 7 20:14:57 CEST 2007

* Peter Stuge <stuge-linuxbios at cdy.org> [070607 19:55]:
> On Thu, Jun 07, 2007 at 10:45:30AM -0700, ron minnich wrote:
> > I will try to sum it up but ... there is no way to unify it, short
> > form. I contains very chip-dependent stuff, ranging from the simple
> > array of longs up to a very complex multi-channel, mult-i devfn,
> > multi-address, etc. etc. mess.
> > 
> > There's no good way to do it that I can see.
> How does everyone feel abot unions?
Bad. I dont think we need them. (Well if we did, it would be an idea)

People have been copying auto.c from K8 and modifying it. And if their
mem controller was simple, the complicated parts were not always
removed. So we ended up with something complex, and in addition it might
be different on all platforms.

I think what we want is a generic MC structure. BUT we also want a
platform specific sysinfo structure.

And sysinfo is what we want to pass there, not MC. I think the object
model is wrong at the moment.

> Also, can there be more than one MC on a northbridge?
In theory. But the meminit code would know that. No need to define it
every time.


coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

More information about the coreboot mailing list