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>
This commit is contained in:
Angel Pons 2021-06-16 12:39:23 +02:00 committed by Werner Zeh
parent 621ed4c06c
commit 12d31b2764
2 changed files with 6 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}