sb/intel/lynxpoint: Don't force state keep after power fail

The deleted line crept in with commit 562db3bb3f ("libpayload: find
source of input characters").

Tested on an ASRock H81M-HDS with `power_on_after_fail` set to `Disable`
via CMOS. After this patch, the system no longer powers on as soon as
power is restored after a power failure.

Change-Id: Ie9d9dab9885b285db1c5094c2c8d62aae551f1e7
Signed-off-by: Tristan Corrick <tristan@corrick.kiwi>
Reviewed-on: https://review.coreboot.org/c/30101
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Tristan Corrick 2018-12-07 19:54:01 +13:00 committed by Patrick Georgi
parent ed7780d353
commit dcc249e295
1 changed files with 0 additions and 1 deletions

View File

@ -199,7 +199,6 @@ static void pch_power_options(struct device *dev)
* If the option is not existent (Laptops), use Kconfig setting. * If the option is not existent (Laptops), use Kconfig setting.
*/ */
get_option(&pwr_on, "power_on_after_fail"); get_option(&pwr_on, "power_on_after_fail");
pwr_on = MAINBOARD_POWER_KEEP;
reg16 = pci_read_config16(dev, GEN_PMCON_3); reg16 = pci_read_config16(dev, GEN_PMCON_3);
reg16 &= 0xfffe; reg16 &= 0xfffe;