baytrail: Add MCFG table to ACPI
This adds the PCI configuration region table to baytrail. BUG=chrome-os-partner:23505 BRANCH=rambi TEST=build and boot on rambi Change-Id: I0d975709a4a18d0f1c5e24581c9fd2190fe2996b Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/175627 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/4937 Tested-by: build bot (Jenkins)
This commit is contained in:
parent
abab05cb3c
commit
03ff2a242e
|
@ -56,3 +56,10 @@ void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
||||||
header->checksum =
|
header->checksum =
|
||||||
acpi_checksum((void *) hpet, sizeof(acpi_hpet_t));
|
acpi_checksum((void *) hpet, sizeof(acpi_hpet_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsigned long acpi_fill_mcfg(unsigned long current)
|
||||||
|
{
|
||||||
|
current += acpi_create_mcfg_mmconfig((acpi_mcfg_mmconfig_t *)current,
|
||||||
|
MCFG_BASE_ADDRESS, 0, 0, 255);
|
||||||
|
return current;
|
||||||
|
}
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
void generate_cpu_entries(void) {}
|
void generate_cpu_entries(void) {}
|
||||||
|
|
||||||
unsigned long acpi_fill_mcfg(unsigned long current) { return current; }
|
|
||||||
|
|
||||||
void smm_init(void) {}
|
void smm_init(void) {}
|
||||||
|
|
||||||
/* Rmodules don't like weak symbols. */
|
/* Rmodules don't like weak symbols. */
|
||||||
|
|
Loading…
Reference in New Issue