Aaron Durbin (adurbin@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4937
-gerrit
commit 728f5e6206f0695b9520cd819d12bc1d30f2bd3b Author: Duncan Laurie dlaurie@chromium.org Date: Mon Nov 4 17:15:20 2013 -0800
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 --- src/soc/intel/baytrail/acpi.c | 7 +++++++ src/soc/intel/baytrail/placeholders.c | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/soc/intel/baytrail/acpi.c b/src/soc/intel/baytrail/acpi.c index 84d125a..b50b12e 100644 --- a/src/soc/intel/baytrail/acpi.c +++ b/src/soc/intel/baytrail/acpi.c @@ -56,3 +56,10 @@ void acpi_create_intel_hpet(acpi_hpet_t * hpet) header->checksum = 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; +} diff --git a/src/soc/intel/baytrail/placeholders.c b/src/soc/intel/baytrail/placeholders.c index 5267927..b10b7e6 100644 --- a/src/soc/intel/baytrail/placeholders.c +++ b/src/soc/intel/baytrail/placeholders.c @@ -7,8 +7,6 @@
void generate_cpu_entries(void) {}
-unsigned long acpi_fill_mcfg(unsigned long current) { return current; } - void smm_init(void) {}
/* Rmodules don't like weak symbols. */