Files
OpenCellular/include/x86_power.h
Randall Spangler 002bc4278b 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
2012-01-17 12:19:47 -08:00

21 lines
500 B
C

/* 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.
*/
/* x86 power module for Chrome EC */
#ifndef __CROS_EC_X86_POWER_H
#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 */