[coreboot] Resource allocation

Myles Watson mylesgw at gmail.com
Wed Nov 12 04:24:34 CET 2008

> -----Original Message-----
> From: ron minnich [mailto:rminnich at gmail.com]
> Sent: Tuesday, November 11, 2008 4:13 PM
> To: Marc Jones
> Cc: Myles Watson; Coreboot
> Subject: Re: [coreboot] Resource allocation
> On Tue, Nov 11, 2008 at 2:58 PM, Marc Jones <marcj303 at yahoo.com> wrote:
> >
> > This would be a good reason to have a generic enable for each device
> like in v2. Then the enable function can handle anything. I am not sure
> how or why this changed in v3.
> >
> I thought you and I just finished getting this right. It's called
> phase3_setup_chip_dev. Is this not right? It does what the v2 thing
> did IIRC.

It goes through and allocates new devices and resources for each PNP device.
It doesn't read any of the dts information.  That's the missing part.

I think I could add more fields to the struct that gets passed to the chip
enable and populate them from the dts.  I just wasn't sure how you were
thinking it would work.


More information about the coreboot mailing list