summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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. */