summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2019-09-06 19:18:24 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-09-09 13:25:40 +0000
commit033435b75f339eaea82c0710bd99f2da586d3e29 (patch)
tree9c04b6616180c1560a940d48227484c86421cbd0 /src/southbridge/amd
parentc42ef561a09decc6d82d0e57ea4e5d796b1c25ac (diff)
downloadcoreboot-033435b75f339eaea82c0710bd99f2da586d3e29.tar.xz
src/southbridge/amd/pi/hudson/lpc.c: add missing MCFG ACPI table generation
The MCFG ACPI table was not being created. Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: I35bdefb2a565d18917a2f6517d443890f93bd252 Reviewed-on: https://review.coreboot.org/c/coreboot/+/35286 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/pi/hudson/lpc.c6
1 files changed, 5 insertions, 1 deletions
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;
}