summaryrefslogtreecommitdiff
path: root/include/x86_power.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-01-13 15:53:29 -0800
committerRandall Spangler <rspangler@chromium.org>2012-01-17 12:19:47 -0800
commit002bc4278bcfe26ae9c3b6fb5cdd3ddc2d07403e (patch)
treebcffd121555801ba37cbaa476648fbb2a8ae635b /include/x86_power.h
parentff3ebed7a8970e11f4169390469e4bb1d67543cc (diff)
downloadchrome-ec-002bc4278bcfe26ae9c3b6fb5cdd3ddc2d07403e.tar.gz
Add x86 power state machine
For bringup, this powers on the x86 unconditionally. Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=chrome-os-partner:7528 TEST=none Change-Id: Ib23e56d38ab42f8d8a4dbd1ba9dce12f0c3eeec9
Diffstat (limited to 'include/x86_power.h')
-rw-r--r--include/x86_power.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/x86_power.h b/include/x86_power.h
index 3343b237e2..ce28e1b571 100644
--- a/include/x86_power.h
+++ b/include/x86_power.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -9,8 +9,12 @@
#define __CROS_EC_X86_POWER_H
#include "common.h"
+#include "gpio.h"
/* Initializes the module. */
int x86_power_init(void);
+/* Interrupt handler for input GPIOs */
+void x86_power_interrupt(enum gpio_signal signal);
+
#endif /* __CROS_EC_X86_POWER_H */