diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-01-13 15:53:29 -0800 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-01-17 12:19:47 -0800 |
commit | 002bc4278bcfe26ae9c3b6fb5cdd3ddc2d07403e (patch) | |
tree | bcffd121555801ba37cbaa476648fbb2a8ae635b /include | |
parent | ff3ebed7a8970e11f4169390469e4bb1d67543cc (diff) | |
download | chrome-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')
-rw-r--r-- | include/x86_power.h | 6 |
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 */ |