blob: 3c6c2388fd47161d17e26571f6ec6dc42f3b4869 [file] [log] [blame]
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +01001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2009 coresystems GmbH
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
9 * the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
19 * MA 02110-1301 USA
20 */
21
22#include "../nehalem.h"
23#include "hostbridge.asl"
24
25/* PCI Device Resource Consumption */
26Device (PDRC)
27{
28 Name (_HID, EISAID("PNP0C02"))
29 Name (_UID, 1)
30
31 Name (PDRS, ResourceTemplate() {
32 Memory32Fixed(ReadWrite, 0xfed1c000, 0x00004000) // RCBA
Paul Menzel20f83d52014-02-11 10:38:27 +010033 Memory32Fixed(ReadWrite, DEFAULT_MCHBAR, 0x00008000)
Vladimir Serbinenkoc6f6be02013-11-12 22:32:08 +010034 Memory32Fixed(ReadWrite, DEFAULT_DMIBAR, 0x00001000)
35 Memory32Fixed(ReadWrite, DEFAULT_EPBAR, 0x00001000)
36 Memory32Fixed(ReadWrite, DEFAULT_PCIEXBAR, 0x04000000)
37 Memory32Fixed(ReadWrite, 0xfed20000, 0x00020000) // Misc ICH
38 Memory32Fixed(ReadWrite, 0xfed40000, 0x00005000) // Misc ICH
39 Memory32Fixed(ReadWrite, 0xfed45000, 0x0004b000) // Misc ICH
40
41#if CONFIG_CHROMEOS_RAMOOPS
42 Memory32Fixed(ReadWrite, CONFIG_CHROMEOS_RAMOOPS_RAM_START,
43 CONFIG_CHROMEOS_RAMOOPS_RAM_SIZE)
44#endif
45
46 /* Required for SandyBridge sighting 3715511 */
47 Memory32Fixed(ReadWrite, 0x20000000, 0x00200000)
48 Memory32Fixed(ReadWrite, 0x40000000, 0x00200000)
49 })
50
51 // Current Resource Settings
52 Method (_CRS, 0, Serialized)
53 {
54 Return(PDRS)
55 }
56}
57
58// Integrated graphics 0:2.0
59#include "igd.asl"