Iru, 

It is powering on if it thinks that the normal shutdown failed. You can change the default for your build and/or check if there is a logic bug. Also check that the option is correctly cleared on S5. Finally, details of your board and chipset would be good to mention.

Marc


On Mon, May 4, 2015 at 10:37 AM ron minnich <rminnich@gmail.com> wrote:
The original use of power_on_after_fail was for HPC server nodes that we wanted to power on after an external power failure without having to go to 1024 nodes and touch a button (this was a real issue at Los Alamos and IIRC the fix came from Linux NetworX). This is LONG before laptops were a gleam in our eye. 

I'm not surprised that it doesn't fit the laptop use case that well.

ron

On Sat, May 2, 2015 at 4:44 AM Iru Cai <mytbk920423@gmail.com> wrote:
Hi,

After I set CONFIG_USE_OPTION_TABLE, my laptop will power on when I plug in the AC adapter. Then I find disabling `power_on_after_fail' will prevent my laptop from booting when AC is plugged in. So I wonder why this setting is called `power_on_after_fail' instead of `power on AC attach' as with the vendor BIOS?

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot
--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot