mb/ocp/deltalake: Unset POWER_STATE_DEFAULT_ON_AFTER_FAILURE

Change PCH power policy. Set default of
POWER_STATE_DEFAULT_ON_AFTER_FAILURE to n in order to change power
state to S5 when power is reapplied after power failure.

TEST=Base on CB:42289, CB:43338 and build for Deltalake.
The following Kconfig options must be selected:
	select SOC_INTEL_COMMON_BLOCK_PMC
	select ACPI_INTEL_HARDWARE_SLEEP_VALUES
	select CPU_INTEL_COMMON_SMM

Boot the system and check the last bit of GEN_PMCON_B is set to 1
through ITP with command: pch.pm_dump

Signed-off-by: Tim Chu <Tim.Chu@quantatw.com>
Change-Id: I4d4f14bdfc18740976171fd5d369b2d79a916dc4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42976
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Tim Chu 2020-07-01 01:41:01 -07:00 committed by Angel Pons
parent 2b3a500fed
commit 0ecb7857ce
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ config BOARD_SPECIFIC_OPTIONS
select VPD select VPD
select VPD_SMBIOS_VERSION select VPD_SMBIOS_VERSION
config POWER_STATE_DEFAULT_ON_AFTER_FAILURE
default n
config IPMI_KCS_REGISTER_SPACING config IPMI_KCS_REGISTER_SPACING
int int
default 4 default 4