From 033435b75f339eaea82c0710bd99f2da586d3e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Fri, 6 Sep 2019 19:18:24 +0200 Subject: [PATCH] src/southbridge/amd/pi/hudson/lpc.c: add missing MCFG ACPI table generation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The MCFG ACPI table was not being created. Signed-off-by: Michał Żygowski Change-Id: I35bdefb2a565d18917a2f6517d443890f93bd252 Reviewed-on: https://review.coreboot.org/c/coreboot/+/35286 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/southbridge/amd/pi/hudson/lpc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/southbridge/amd/pi/hudson/lpc.c b/src/southbridge/amd/pi/hudson/lpc.c index 5354a27822..02123a10b2 100644 --- a/src/southbridge/amd/pi/hudson/lpc.c +++ b/src/southbridge/amd/pi/hudson/lpc.c @@ -332,7 +332,11 @@ static void hudson_lpc_enable_resources(struct device *dev) unsigned long acpi_fill_mcfg(unsigned long current) { - /* Just a dummy */ + current += acpi_create_mcfg_mmconfig((acpi_mcfg_mmconfig_t *)current, + CONFIG_MMCONF_BASE_ADDRESS, + 0, + 0, + CONFIG_MMCONF_BUS_NUMBER); return current; }