soc/amd/picasso: Move acpi_fill_mcfg
Move this with the other acpi functions. BUG=b:147042464 TEST=build trembyle Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I24bd5c7d7c90968759ac745012e7bbc47f0ef6a8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41262 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
4bb9c59558
commit
94acba86fa
@@ -20,11 +20,22 @@
|
|||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <soc/cpu.h>
|
#include <soc/cpu.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
#include <soc/northbridge.h>
|
|
||||||
#include <soc/nvs.h>
|
#include <soc/nvs.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <version.h>
|
#include <version.h>
|
||||||
|
|
||||||
|
unsigned long acpi_fill_mcfg(unsigned long current)
|
||||||
|
{
|
||||||
|
|
||||||
|
current += acpi_create_mcfg_mmconfig((acpi_mcfg_mmconfig_t *)current,
|
||||||
|
CONFIG_MMCONF_BASE_ADDRESS,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
CONFIG_MMCONF_BUS_NUMBER);
|
||||||
|
|
||||||
|
return current;
|
||||||
|
}
|
||||||
|
|
||||||
unsigned long acpi_fill_madt(unsigned long current)
|
unsigned long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
/* create all subtables for processors */
|
/* create all subtables for processors */
|
||||||
|
@@ -146,18 +146,6 @@ static void set_resources(struct device *dev)
|
|||||||
assign_resources(bus);
|
assign_resources(bus);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long acpi_fill_mcfg(unsigned long current)
|
|
||||||
{
|
|
||||||
|
|
||||||
current += acpi_create_mcfg_mmconfig((acpi_mcfg_mmconfig_t *)current,
|
|
||||||
CONFIG_MMCONF_BASE_ADDRESS,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
CONFIG_MMCONF_BUS_NUMBER);
|
|
||||||
|
|
||||||
return current;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void northbridge_fill_ssdt_generator(const struct device *device)
|
static void northbridge_fill_ssdt_generator(const struct device *device)
|
||||||
{
|
{
|
||||||
msr_t msr;
|
msr_t msr;
|
||||||
|
Reference in New Issue
Block a user