diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-06-16 12:39:23 +0200 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2021-06-21 04:25:51 +0000 |
commit | 12d31b2764851f119985192419d2c986b48b54e0 (patch) | |
tree | 9e4f08efbaf5fbd39a49978b2b1ba064db2119e6 /src/southbridge | |
parent | 621ed4c06c8c8761e083c550c0edf3c9c66793c9 (diff) |
southbridge/amd: Create ACPI MCFG MMCONFIG
These southbridges are paired with MMCONF-enabled northbridges.
Change-Id: I0416de6425bb57471856731ad12ce8194ac98be2
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55572
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/lpc.c | 4 | ||||
-rw-r--r-- | src/southbridge/amd/cimx/sb800/late.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/southbridge/amd/agesa/hudson/lpc.c b/src/southbridge/amd/agesa/hudson/lpc.c index f811302e0c..b80bb6ad35 100644 --- a/src/southbridge/amd/agesa/hudson/lpc.c +++ b/src/southbridge/amd/agesa/hudson/lpc.c @@ -320,7 +320,9 @@ static const char *lpc_acpi_name(const 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 - 1); + return current; } diff --git a/src/southbridge/amd/cimx/sb800/late.c b/src/southbridge/amd/cimx/sb800/late.c index 15e6d67c0c..9fdf596cbd 100644 --- a/src/southbridge/amd/cimx/sb800/late.c +++ b/src/southbridge/amd/cimx/sb800/late.c @@ -123,7 +123,9 @@ static void lpc_init(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 - 1); + return current; } |