blob: 8c7882f56511a3984356eaa7a7bc1ddab0fefd12 [file] [log] [blame]
Stefan Reinauerb7ecf6d2013-03-13 17:13:32 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 The Chromium OS Authors. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Stefan Reinauerb7ecf6d2013-03-13 17:13:32 -070014 */
15
16#ifndef STOUT_EC_H
17#define STOUT_EC_H
18
19#define EC_SCI_GPI 6 /* GPIO6 is EC_SCI# */
20#define EC_SMI_GPI 1 /* GPIO1 is EC_SMI# */
21
22#define EC_SMI_LID_CLOSED 0x2B
23
24#ifndef __ACPI__
25extern void stout_ec_init(void);
26#endif
27
28#ifdef __SMM__
29void stout_ec_finalize_smm(void);
30#endif
31
32#endif // STOUT_EC_H