diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-03-04 07:48:27 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-08-24 10:32:09 +0000 |
commit | ffdb6e87c81559d6a41fde1a35e154cc4716639e (patch) | |
tree | 7689b503aeaeb9a865a93edc1df7a5dd056d166e /src/mainboard/hp/pavilion_m6_1035dx/mainboard.c | |
parent | acc8ac649d1cf8a35e3407b8ca055aef9e9371b0 (diff) | |
download | coreboot-ffdb6e87c81559d6a41fde1a35e154cc4716639e.tar.xz |
hp/pavilion_m6_1035dx: Switch away from AGESA_LEGACY
Change-Id: Iffc176522e943c003e2625d8e15341b281a261eb
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/20720
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/hp/pavilion_m6_1035dx/mainboard.c')
-rw-r--r-- | src/mainboard/hp/pavilion_m6_1035dx/mainboard.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c b/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c index 0fb98244d4..146c84376b 100644 --- a/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c +++ b/src/mainboard/hp/pavilion_m6_1035dx/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 "ec.h" @@ -43,11 +43,8 @@ static void mainboard_enable(device_t dev) hudson_configure_gevent_smi(EC_SMI_GEVENT, SMI_MODE_SMI, SMI_LVL_HIGH); hudson_enable_smi_generation(); - if (acpi_is_wakeup_s3()) - agesawrapper_fchs3earlyrestore(); - else + if (!acpi_is_wakeup_s3()) pavilion_cold_boot_init(); - } struct chip_operations mainboard_ops = { |