diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-11-26 08:11:07 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-01-09 11:02:01 +0100 |
commit | 0b5b541373bd5853d2fd6093c32d46d8f6003dd0 (patch) | |
tree | 9602083877a2bf82705c6fb98dd5aa4baad226d2 /src/southbridge/amd | |
parent | dc357566ea715cd5dedd277046ff58c36b622dfd (diff) | |
download | coreboot-0b5b541373bd5853d2fd6093c32d46d8f6003dd0.tar.xz |
AMD binaryPI 00730F01: Switch to per-device ACPI
Change-Id: Iad31ae3e511c8ebacc973b2d8a8e3bfca719ee7c
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/7583
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r-- | src/southbridge/amd/pi/avalon/lpc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/southbridge/amd/pi/avalon/lpc.c b/src/southbridge/amd/pi/avalon/lpc.c index 7b54cc32fa..d15a6d12ed 100644 --- a/src/southbridge/amd/pi/avalon/lpc.c +++ b/src/southbridge/amd/pi/avalon/lpc.c @@ -28,6 +28,7 @@ #include <pc80/mc146818rtc.h> #include <pc80/isa-dma.h> #include <arch/io.h> +#include <arch/acpi.h> #include <arch/ioapic.h> #include "hudson.h" @@ -307,6 +308,12 @@ static void hudson_lpc_enable_childrens_resources(device_t dev) pci_write_config8(dev, 0x74, wiosize); } +unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +} + static void hudson_lpc_enable_resources(device_t dev) { pci_dev_enable_resources(dev); @@ -321,6 +328,9 @@ static struct device_operations lpc_ops = { .read_resources = hudson_lpc_read_resources, .set_resources = hudson_lpc_set_resources, .enable_resources = hudson_lpc_enable_resources, +#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) + .write_acpi_tables = acpi_write_hpet, +#endif .init = lpc_init, .scan_bus = scan_static_bus, .ops_pci = &lops_pci, |