[coreboot] [PATCH] AMD MMCONF Support
Stefan Reinauer
stefan.reinauer at coresystems.de
Wed May 26 13:12:45 CEST 2010
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.
Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the coreboot
mailing list