]> git.dujemihanovic.xyz Git - u-boot.git/commit
kc1: Power off when the power on reason is not a valid one
authorPaul Kocialkowski <contact@paulk.fr>
Sat, 27 Feb 2016 18:19:14 +0000 (19:19 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Mar 2016 19:12:58 +0000 (15:12 -0400)
commitee85a4152516daf57ce1f05b16e5f06ab4f3cf91
tree88e9f58bd299dd29d6a3c8f92e1221bb20d1c05d
parent461484c27e1d72980eae4826eb9788a156cdf00e
kc1: Power off when the power on reason is not a valid one

Some power on reasons are not desirable (e.g. too short press on the power
button), battery plug. Thus, power off the device when one of those occurs.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
board/amazon/kc1/kc1.c
include/configs/kc1.h