coreboot-kgpe-d16/src
Furquan Shaikh 344ed02a74 soc/intel/apollolake: Remove call to pmc_fixup_power_state
On APL, call to pmc_fixup_power_state was added because GPE0_EN
registers did not have the right bits set on resume from S3 -- this
was a result of GPE_CFG registers getting reset to their default state
on resume. GPE_CFG registers are programmed as part of pmc_gpe_init
which was previously done only in ramstage.

However, with change a673d1c (soc/intel/apollolake: Initialize GPEs in
bootblock), call to pmc_gpe_init was added to bootblock which means
that GPE_CFG registers will have the right state by the time control
reaches romstage where pmc_fill_power_state is called. Thus, call to
pmc_fixup_power_state is totally redundant and in fact leads to
side-effects because of the call to pmc_disable_all_gpe at the end of
pmc_fill_power_state.

BUG=b:110836465
TEST=Verified on yorp that wake source is correctly identified on
resume from S3.

Change-Id: Ia63ddbe381ce8a59736c231d745fd71d008d5d92
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/27249
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-06-28 04:59:53 +00:00
..
acpi
arch arm64: Reimplement mmu_disable() in assembly 2018-06-26 23:59:18 +00:00
commonlib util/cbfstool: Support FIT payloads 2018-06-15 09:13:24 +00:00
console arch/x86: Drop leftover ROMCC console support 2018-06-08 03:31:12 +00:00
cpu smm: Switch from %edx to %ebx 2018-06-27 22:12:28 +00:00
device src: Use of device_t is deprecated 2018-06-14 09:29:31 +00:00
drivers drivers/intel/fsp1_1: Fix vbt_len type 2018-06-27 15:38:12 +00:00
ec google/chromeec: Set proper dev ops 2018-06-07 06:37:12 +00:00
include lib: Add FIT payload support 2018-06-19 18:10:05 +00:00
lib lib/rmodule: Fix indentation 2018-06-27 02:20:33 +00:00
mainboard mb/google/*: Add a few VBT files 2018-06-27 15:38:25 +00:00
northbridge nb/intel/i945: Remove dead code 2018-06-23 22:25:51 +00:00
security security/tpm: Unify the coreboot TPM software stack 2018-06-04 20:33:07 +00:00
soc soc/intel/apollolake: Remove call to pmc_fixup_power_state 2018-06-28 04:59:53 +00:00
southbridge sb/intel/common/firmware: Enable me_cleaner for Nehalem 2018-06-25 08:19:16 +00:00
superio src: Use of device_t is deprecated 2018-06-14 09:29:31 +00:00
vendorcode vc/amd/00670F00: Sync AGESA.h with PI blob 2018-06-13 21:20:32 +00:00
Kconfig stage_cache: Disable when APCI S3 is not possible 2018-06-27 02:20:11 +00:00