From 03ff2a242eac43636673183f11b710fc86b3b900 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 4 Nov 2013 17:15:20 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/175627 Reviewed-by: Aaron Durbin Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/4937 Tested-by: build bot (Jenkins) --- src/soc/intel/baytrail/acpi.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/soc/intel/baytrail/acpi.c') 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; +} -- cgit v1.2.3