[coreboot] non static < 0x1000 IO space can be broken
mylesgw at gmail.com
Mon Jul 20 16:06:49 CEST 2009
> -----Original Message-----
> From: coreboot-bounces at coreboot.org [mailto:coreboot-bounces at coreboot.org]
> On Behalf Of Rudolf Marek
> Sent: Sunday, July 19, 2009 1:49 PM
> To: Kevin O'Connor
> Cc: Coreboot
> Subject: Re: [coreboot] non static < 0x1000 IO space can be broken
> > resources. Maybe we should just add a generic resource for everything
> > under 0x1000?
That's the way the rest of the boards did it. I'm sorry I missed this
southbridge. I thought I got them all.
The resource allocator will only care about the last I/O resource that you
add, because it doesn't split allocations. So if you add 5 resources all
under 0x1000 with the last one ending at 0x1000, or 1 resource 0x0-0x1000,
it will have the same effect.
I noticed in your patch that you're setting the limit = base+size-1. The
limit is not the same as the end of the resource. For most I/O, the limit
should be 0xffff.
More information about the coreboot