diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-09-09 16:51:34 +0300 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-01-23 05:33:30 +0000 |
commit | 9de8ab9acec90d36aa23c63f3f46bca3b628d0f6 (patch) | |
tree | 0b66c71eb88ee5fe5a972e01f7d88abd13959ee6 /src/northbridge/amd/agesa/family16kb | |
parent | 1758fd2a32408b9206c41b8e71300494ee53f886 (diff) |
AGESA_LEGACY: Apply final cleanup and file removals
With no boards left using AGESA_LEGACY, wipe out remains
of that everywhere in the tree.
Change-Id: I0ddc1f400e56e42fe8a43b4766195e3a187dcea6
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/18633
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/northbridge/amd/agesa/family16kb')
-rw-r--r-- | src/northbridge/amd/agesa/family16kb/Makefile.inc | 2 | ||||
-rw-r--r-- | src/northbridge/amd/agesa/family16kb/northbridge.c | 19 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/northbridge/amd/agesa/family16kb/Makefile.inc b/src/northbridge/amd/agesa/family16kb/Makefile.inc index 25e3cc8f1f..3021ef48da 100644 --- a/src/northbridge/amd/agesa/family16kb/Makefile.inc +++ b/src/northbridge/amd/agesa/family16kb/Makefile.inc @@ -17,7 +17,5 @@ romstage-y += dimmSpd.c ramstage-y += northbridge.c -ifneq ($(CONFIG_AGESA_LEGACY_WRAPPER), y) romstage-y += state_machine.c ramstage-y += state_machine.c -endif diff --git a/src/northbridge/amd/agesa/family16kb/northbridge.c b/src/northbridge/amd/agesa/family16kb/northbridge.c index 557c9c4bbd..98ed2b8913 100644 --- a/src/northbridge/amd/agesa/family16kb/northbridge.c +++ b/src/northbridge/amd/agesa/family16kb/northbridge.c @@ -36,7 +36,6 @@ #include <Options.h> #include <Topology.h> -#include <northbridge/amd/agesa/agesawrapper.h> #include <northbridge/amd/agesa/state_machine.h> #include <northbridge/amd/agesa/agesa_helper.h> @@ -644,23 +643,6 @@ static void domain_read_resources(device_t dev) pci_domain_read_resources(dev); } -static void domain_enable_resources(device_t dev) -{ -#if IS_ENABLED(CONFIG_AGESA_LEGACY_WRAPPER) - if (acpi_is_wakeup_s3()) - agesawrapper_fchs3laterestore(); - - /* Must be called after PCI enumeration and resource allocation */ - if (!acpi_is_wakeup_s3()) { - /* Enable MMIO on AMD CPU Address Map Controller */ - amd_initcpuio(); - - agesawrapper_amdinitmid(); - } - printk(BIOS_DEBUG, " ader - leaving domain_enable_resources.\n"); -#endif -} - #if CONFIG_HW_MEM_HOLE_SIZEK != 0 struct hw_mem_hole_info { unsigned hole_startk; @@ -816,7 +798,6 @@ static void domain_set_resources(device_t dev) static struct device_operations pci_domain_ops = { .read_resources = domain_read_resources, .set_resources = domain_set_resources, - .enable_resources = domain_enable_resources, .init = DEVICE_NOOP, .scan_bus = pci_domain_scan_bus, .ops_pci_bus = pci_bus_default_ops, |