blob: 0141481d0650293f3cd50cf12210ce8115bdeafa [file] [log] [blame]
WANG Siyuanf77f7342013-08-13 17:09:51 +08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 Sage Electronic Engineering, LLC
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.
WANG Siyuanf77f7342013-08-13 17:09:51 +080014 */
15
16/* Memory related values */
17Name(LOMH, 0x0) /* Start of unused memory in C0000-E0000 range */
18Name(PBAD, 0x0) /* Address of BIOS area (If TOM2 != 0, Addr >> 16) */
19Name(PBLN, 0x0) /* Length of BIOS area */
20
21Name(PCBA, CONFIG_MMCONF_BASE_ADDRESS) /* Base address of PCIe config space */
22Name(PCLN, Multiply(0x100000, CONFIG_MMCONF_BUS_NUMBER)) /* Length of PCIe config space, 1MB each bus */
23Name(HPBA, 0xFED00000) /* Base address of HPET table */
24
25Name(SSFG, 0x0D) /* S1 support: bit 0, S2 Support: bit 1, etc. S0 & S5 assumed */
26
27/* Some global data */
Edward O'Callaghanf7d8f092014-05-31 13:57:52 +100028Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
WANG Siyuanf77f7342013-08-13 17:09:51 +080029Name(OSV, Ones) /* Assume nothing */
30Name(PMOD, One) /* Assume APIC */
Zheng Bao1defc862013-11-21 16:12:27 +080031
32/* AcpiGpe0Blk */
33OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
34 Field(GP0B, ByteAcc, NoLock, Preserve) {
35 , 11,
36 USBS, 1,
37}