summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-11-04 17:15:20 -0800
committerAaron Durbin <adurbin@google.com>2014-04-30 23:11:46 +0200
commit03ff2a242eac43636673183f11b710fc86b3b900 (patch)
tree659d0521c44fed321c32bc49758cd986ceccb885 /src/soc/intel
parentabab05cb3cf5cb7a7579a839ea486bf61fc62e45 (diff)
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)
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/baytrail/acpi.c7
-rw-r--r--src/soc/intel/baytrail/placeholders.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/soc/intel/baytrail/acpi.c b/src/soc/intel/baytrail/acpi.c
index 84d125a19a..b50b12e07d 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 5267927876..b10b7e69f8 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. */