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
This commit is contained in:
parent
25d712ac16
commit
2cb7014991
|
@ -65,6 +65,11 @@ extern unsigned sbdn;
|
||||||
extern unsigned hcdn[];
|
extern unsigned hcdn[];
|
||||||
extern unsigned sbdnx[7]; // for all 8131
|
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)
|
unsigned long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
|
|
|
@ -48,6 +48,12 @@ extern unsigned char AmlCode_ssdt4[];
|
||||||
|
|
||||||
#define IO_APIC_ADDR 0xfec00000UL
|
#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 long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
unsigned int gsi_base=0x18;
|
unsigned int gsi_base=0x18;
|
||||||
|
|
|
@ -14,10 +14,16 @@
|
||||||
#include "bus.h"
|
#include "bus.h"
|
||||||
#include "ioapic.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)
|
unsigned long acpi_fill_srat(unsigned long current)
|
||||||
{
|
{
|
||||||
// Not implemented
|
// Not implemented
|
||||||
return 0;
|
return current;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long acpi_fill_madt(unsigned long current)
|
unsigned long acpi_fill_madt(unsigned long current)
|
||||||
|
|
|
@ -49,6 +49,13 @@ extern unsigned char AmlCode_ssdt5[];
|
||||||
|
|
||||||
#define IO_APIC_ADDR 0xfec00000UL
|
#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 long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
unsigned int gsi_base=0x18;
|
unsigned int gsi_base=0x18;
|
||||||
|
|
|
@ -13,14 +13,23 @@
|
||||||
|
|
||||||
extern unsigned char AmlCode[];
|
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)
|
unsigned long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
/* Nothing to do */
|
/* Nothing to do */
|
||||||
|
return current;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long acpi_fill_srat(unsigned long current)
|
unsigned long acpi_fill_srat(unsigned long current)
|
||||||
{
|
{
|
||||||
/* No NUMA, no SRAT */
|
/* No NUMA, no SRAT */
|
||||||
|
return current;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long write_acpi_tables(unsigned long start)
|
unsigned long write_acpi_tables(unsigned long start)
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
* slower than normal, ethernet drops packets).
|
* slower than normal, ethernet drops packets).
|
||||||
* Apparently these registers govern some sort of bus master behavior.
|
* Apparently these registers govern some sort of bus master behavior.
|
||||||
*/
|
*/
|
||||||
|
#if 0
|
||||||
static void dump_dev(device_t dev)
|
static void dump_dev(device_t dev)
|
||||||
{
|
{
|
||||||
int i,j;
|
int i,j;
|
||||||
|
@ -32,6 +33,8 @@ static void dump_dev(device_t dev)
|
||||||
printk_debug("\n");
|
printk_debug("\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void northbridge_init(device_t dev)
|
static void northbridge_init(device_t dev)
|
||||||
{
|
{
|
||||||
device_t fb_dev;
|
device_t fb_dev;
|
||||||
|
|
Loading…
Reference in New Issue