> -----Original Message-----
> From: Marc Jones [mailto:[email protected]]
> 
> On Thu, Mar 19, 2009 at 4:32 AM, Myles Watson <[email protected]> wrote:
> 
> > Here's my 2 cents:
> > 1. Overwrite read resources so it doesn't touch your MMConfig BAR
> > (sizing it would not be good)
> > 2. Overwrite set_resources so that it:
> >     a. disables MMConfig accesses
> >     b. writes the new value to the MMConfig BAR
> >     c. enables MMConfig accesses
> 
> I assume you mean to change which ever 690 device operations struct
> it is. Then check the address for the bar and skip it if mmconfig
> otherwise do a normal read/write. That sounds good to me.

Thanks for clarifying.  It was a little early :)

Skip it for read_resources.  Disable, write, then enable using conf1 pci
config accesses for set_resources.  Otherwise use the default.

I think that will allow you to use mmconfig accesses everywhere else.

Thanks,
Myles


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to