aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Kocialkowski2016-02-27 19:19:14 +0100
committerTom Rini2016-03-15 15:12:58 -0400
commitee85a4152516daf57ce1f05b16e5f06ab4f3cf91 (patch)
tree88e9f58bd299dd29d6a3c8f92e1221bb20d1c05d /include
parent461484c27e1d72980eae4826eb9788a156cdf00e (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/kc1.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/kc1.h b/include/configs/kc1.h
index 04cb320b3e5..c2ac148f03d 100644
--- a/include/configs/kc1.h
+++ b/include/configs/kc1.h
@@ -105,6 +105,12 @@
#define CONFIG_TWL6030_POWER
/*
+ * Input
+ */
+
+#define CONFIG_TWL6030_INPUT
+
+/*
* Partitions
*/