diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-11-04 16:50:27 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-11-04 16:50:27 +0000 |
commit | 2cb701499141cbafe6449394f718923a1458d4e9 (patch) | |
tree | d8e08114a65962816e30038b0f61f9042e21e1ff | |
parent | 25d712ac16a853d96b8ec03d64b20f596c013b2c (diff) |
Add dummy function for MCFG on those mainboards that provide ACPI but don't
have PCIe MMCONFIG.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2941 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/mainboard/agami/aruma/acpi_tables.c | 5 | ||||
-rw-r--r-- | src/mainboard/amd/serengeti_cheetah/acpi_tables.c | 6 | ||||
-rw-r--r-- | src/mainboard/intel/xe7501devkit/acpi_tables.c | 8 | ||||
-rw-r--r-- | src/mainboard/iwill/dk8_htx/acpi_tables.c | 7 | ||||
-rw-r--r-- | src/mainboard/via/epia-m/acpi_tables.c | 9 | ||||
-rw-r--r-- | src/northbridge/via/vt8623/northbridge.c | 3 |
6 files changed, 37 insertions, 1 deletions
diff --git a/src/mainboard/agami/aruma/acpi_tables.c b/src/mainboard/agami/aruma/acpi_tables.c index 823e5e200a..b10b73b3b6 100644 --- a/src/mainboard/agami/aruma/acpi_tables.c +++ b/src/mainboard/agami/aruma/acpi_tables.c @@ -65,6 +65,11 @@ extern unsigned sbdn; extern unsigned hcdn[]; extern unsigned sbdnx[7]; // for all 8131 +unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +} unsigned long acpi_fill_madt(unsigned long current) { diff --git a/src/mainboard/amd/serengeti_cheetah/acpi_tables.c b/src/mainboard/amd/serengeti_cheetah/acpi_tables.c index 1ba92e2b64..ddc8c1826f 100644 --- a/src/mainboard/amd/serengeti_cheetah/acpi_tables.c +++ b/src/mainboard/amd/serengeti_cheetah/acpi_tables.c @@ -48,6 +48,12 @@ extern unsigned char AmlCode_ssdt4[]; #define IO_APIC_ADDR 0xfec00000UL +unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +} + unsigned long acpi_fill_madt(unsigned long current) { unsigned int gsi_base=0x18; diff --git a/src/mainboard/intel/xe7501devkit/acpi_tables.c b/src/mainboard/intel/xe7501devkit/acpi_tables.c index 7d1261c57f..84edb69d75 100644 --- a/src/mainboard/intel/xe7501devkit/acpi_tables.c +++ b/src/mainboard/intel/xe7501devkit/acpi_tables.c @@ -14,10 +14,16 @@ #include "bus.h" #include "ioapic.h" +unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +} + unsigned long acpi_fill_srat(unsigned long current) { // Not implemented - return 0; + return current; } unsigned long acpi_fill_madt(unsigned long current) diff --git a/src/mainboard/iwill/dk8_htx/acpi_tables.c b/src/mainboard/iwill/dk8_htx/acpi_tables.c index 28cf584323..1f891dae08 100644 --- a/src/mainboard/iwill/dk8_htx/acpi_tables.c +++ b/src/mainboard/iwill/dk8_htx/acpi_tables.c @@ -49,6 +49,13 @@ extern unsigned char AmlCode_ssdt5[]; #define IO_APIC_ADDR 0xfec00000UL +unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +} + + unsigned long acpi_fill_madt(unsigned long current) { unsigned int gsi_base=0x18; diff --git a/src/mainboard/via/epia-m/acpi_tables.c b/src/mainboard/via/epia-m/acpi_tables.c index cf49338100..209434415b 100644 --- a/src/mainboard/via/epia-m/acpi_tables.c +++ b/src/mainboard/via/epia-m/acpi_tables.c @@ -13,14 +13,23 @@ extern unsigned char AmlCode[]; +unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Nothing to do */ + return current; +} + + unsigned long acpi_fill_madt(unsigned long current) { /* Nothing to do */ + return current; } unsigned long acpi_fill_srat(unsigned long current) { /* No NUMA, no SRAT */ + return current; } unsigned long write_acpi_tables(unsigned long start) diff --git a/src/northbridge/via/vt8623/northbridge.c b/src/northbridge/via/vt8623/northbridge.c index 73b498aa3e..bd128b9cc9 100644 --- a/src/northbridge/via/vt8623/northbridge.c +++ b/src/northbridge/via/vt8623/northbridge.c @@ -20,6 +20,7 @@ * slower than normal, ethernet drops packets). * Apparently these registers govern some sort of bus master behavior. */ +#if 0 static void dump_dev(device_t dev) { int i,j; @@ -32,6 +33,8 @@ static void dump_dev(device_t dev) printk_debug("\n"); } } +#endif + static void northbridge_init(device_t dev) { device_t fb_dev; |