diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-10-08 22:06:27 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-11-26 21:31:32 +0100 |
commit | 56f46d87d276055e250bb472bce2545b34cd87e5 (patch) | |
tree | 710a6b461a8d34fb6ad11754d69008688e4aedf9 /src/southbridge | |
parent | 8be624f1f34da38954fae3be6f4a61e91f702602 (diff) |
agesa/family15tn: Switch to per-device ACPI
Change-Id: Icc2e7b66b3ff5f70b219a3e67494ce3df055c9d5
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/7033
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/lpc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/southbridge/amd/agesa/hudson/lpc.c b/src/southbridge/amd/agesa/hudson/lpc.c index 1f60bc4ed9..129a6151a9 100644 --- a/src/southbridge/amd/agesa/hudson/lpc.c +++ b/src/southbridge/amd/agesa/hudson/lpc.c @@ -29,6 +29,7 @@ #include <pc80/isa-dma.h> #include <arch/io.h> #include <arch/ioapic.h> +#include <arch/acpi.h> #include "hudson.h" static void lpc_init(device_t dev) @@ -313,6 +314,13 @@ static void hudson_lpc_enable_resources(device_t dev) hudson_lpc_enable_childrens_resources(dev); } +unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +} + + static struct pci_operations lops_pci = { .set_subsystem = pci_dev_set_subsystem, }; @@ -320,6 +328,9 @@ static struct pci_operations lops_pci = { static struct device_operations lpc_ops = { .read_resources = hudson_lpc_read_resources, .set_resources = hudson_lpc_set_resources, +#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) && IS_ENABLED(CONFIG_PER_DEVICE_ACPI_TABLES) + .write_acpi_tables = acpi_write_hpet, +#endif .enable_resources = hudson_lpc_enable_resources, .init = lpc_init, .scan_bus = scan_static_bus, |