[coreboot] [PATCH] AMD MMCONF Support
Patrick Georgi
patrick at georgi-clan.de
Tue Aug 17 10:23:03 CEST 2010
Am 26.05.2010 13:12, schrieb Stefan Reinauer:
> On 5/26/10 11:44 AM, Arne Georg Gleditsch wrote:
>> @@ -199,7 +199,7 @@ static inline __attribute__((always_inline)) void pci_io_write_config16(device_t
>> static inline __attribute__((always_inline)) void pci_mmio_write_config16(device_t dev, unsigned where, uint16_t value)
>> {
>> unsigned addr;
>> - addr = CONFIG_MMCONF_BASE_ADDRESS | dev | where;
>> + addr = dev | (where & ~1);
>> write16x(addr, value);
>> }
>> #endif
>>
> This breaks non-AMD platforms I think.
Any solution to that?
This patch is required for a pending board addition, see
http://patchwork.coreboot.org/patch/1387/
Patrick
More information about the coreboot
mailing list