aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa/family12
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-10-20 07:41:20 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-03 08:10:36 +0100
commitb139b5efcc7f1caf541156fa8d213e3eaf231603 (patch)
treedd0eca6c35ceaa3d841fb65358aab90c068beb4e /src/northbridge/amd/agesa/family12
parent13fdf36ef9f7d03135c2f0984967f56a6cda13ce (diff)
AGESA: Common agesawrapper for S3 resume
Change-Id: I27cd073331659e47d241a0ce249b2d080b4bab5c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7162 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge/amd/agesa/family12')
-rw-r--r--src/northbridge/amd/agesa/family12/agesawrapper.c3
-rw-r--r--src/northbridge/amd/agesa/family12/northbridge.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/amd/agesa/family12/agesawrapper.c b/src/northbridge/amd/agesa/family12/agesawrapper.c
index 39b4f757a8..9a39c0e64f 100644
--- a/src/northbridge/amd/agesa/family12/agesawrapper.c
+++ b/src/northbridge/amd/agesa/family12/agesawrapper.c
@@ -357,9 +357,6 @@ AGESA_STATUS agesawrapper_amdinitmid(VOID)
AGESA_STATUS status;
AMD_INTERFACE_PARAMS AmdParamStruct;
- /* Enable MMIO on AMD CPU Address Map Controller */
- agesawrapper_amdinitcpuio();
-
LibAmdMemFill(&AmdParamStruct,
0, sizeof(AMD_INTERFACE_PARAMS), &(AmdParamStruct.StdHeader));
diff --git a/src/northbridge/amd/agesa/family12/northbridge.c b/src/northbridge/amd/agesa/family12/northbridge.c
index 1e22025fdd..bcebcd95a2 100644
--- a/src/northbridge/amd/agesa/family12/northbridge.c
+++ b/src/northbridge/amd/agesa/family12/northbridge.c
@@ -774,6 +774,9 @@ static void domain_enable_resources(device_t dev)
sb_Mid_Post_Init();
#endif
+ /* Enable MMIO on AMD CPU Address Map Controller */
+ agesawrapper_amdinitcpuio();
+
AGESAWRAPPER(amdinitmid);
printk(BIOS_DEBUG, "Fam12h - northbridge.c - %s - End.\n",__func__);
}