From 5fb2d3074fce9404440dfb81610f66c9c95d78d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 1 Sep 2017 14:40:36 +0300 Subject: AGESA f14: Fix duplicate call on S3 resume path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie316df6e2babd8b3e9e79f45ea9719b52b0c2902 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/21377 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/northbridge/amd/agesa/family14/state_machine.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/northbridge/amd/agesa/family14/state_machine.c b/src/northbridge/amd/agesa/family14/state_machine.c index 3280180f8c..81d15bc445 100644 --- a/src/northbridge/amd/agesa/family14/state_machine.c +++ b/src/northbridge/amd/agesa/family14/state_machine.c @@ -56,10 +56,6 @@ void platform_BeforeInitEnv(struct sysinfo *cb, AMD_ENV_PARAMS *Env) void platform_AfterInitEnv(struct sysinfo *cb, AMD_ENV_PARAMS *Env) { amd_initenv(); -#if 0 - /* FIXME: Should move the callsite from cimx/sb800 to here. */ - sb_Before_Pci_Init(); -#endif } void platform_BeforeS3LateRestore(struct sysinfo *cb, AMD_S3LATE_PARAMS *S3Late) @@ -69,7 +65,6 @@ void platform_BeforeS3LateRestore(struct sysinfo *cb, AMD_S3LATE_PARAMS *S3Late) void platform_AfterS3LateRestore(struct sysinfo *cb, AMD_S3LATE_PARAMS *S3Late) { - sb_Before_Pci_Restore_Init(); } void platform_BeforeInitMid(struct sysinfo *cb, AMD_MID_PARAMS *Mid) -- cgit v1.2.3