2 * This file is part of the coreboot project.
4 * Copyright (C) 2011 Google Inc.
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.
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.
17 * Fields are in the following order.
18 * - Type: recovery = 1 developer mode = 2 write protect = 3
19 * - Active Level - if -1 not a valid gpio
20 * - GPIO number encoding - if -1 not a valid gpio
23 * Note: On Bay Trail we need to encode gpios within the 3 separate banks
24 * with the MMIO offset of each banks space. e.g. GPIO_SUS[8] would be encoded
25 * as 0x2008 where the SUS offset (IO_BASE_OFFSET_GPSSUS) is 0x2000.
28 Name(OIPG, Package() {
29 // No physical recovery button
30 Package () { 0x0001, 0, 0xFFFFFFFF, "BayTrail" },
31 Package () { 0x0003, 1, 0x2006, "BayTrail" },