summaryrefslogtreecommitdiff
path: root/src/mainboard/msi/ms7721/mainboard.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-03-04 07:34:08 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-08-24 10:30:18 +0000
commita84e34be25254e6476e261f9d99de016ca47a3a4 (patch)
treea25828befba72171dd783bcbd3189542c5b281a3 /src/mainboard/msi/ms7721/mainboard.c
parentffa527002a3eedfb83a97cc597294d767f3ff281 (diff)
msi/ms7721: Switch away from AGESA_LEGACY_WRAPPER
Change-Id: I39a0b4acbe44dca8be63201502be739d954c8a33 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/20713 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/msi/ms7721/mainboard.c')
-rw-r--r--src/mainboard/msi/ms7721/mainboard.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/msi/ms7721/mainboard.c b/src/mainboard/msi/ms7721/mainboard.c
index 5a637ae309..114db4dd76 100644
--- a/src/mainboard/msi/ms7721/mainboard.c
+++ b/src/mainboard/msi/ms7721/mainboard.c
@@ -13,7 +13,7 @@
* GNU General Public License for more details.
*/
-#include <northbridge/amd/agesa/agesawrapper.h>
+#include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <arch/acpi.h>
@@ -45,9 +45,6 @@ static void mainboard_enable(device_t dev)
msr = rdmsr(0xC0011023);
msr.lo &= ~(1 << 23);
wrmsr(0xC0011023, msr);
-
- if (acpi_is_wakeup_s3())
- agesawrapper_fchs3earlyrestore();
}
struct chip_operations mainboard_ops = {