blob: 6708e270e9982dc151503442bd73c90a277c607e [file] [log] [blame]
Stefan Reinauer00636b02012-04-04 00:08:51 +02001/*
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
Stefan Reinauer00636b02012-04-04 00:08:51 +020022#include "../sandybridge.h"
Duncan Laurie55864ef2012-07-16 12:27:42 -070023#include "hostbridge.asl"
Stefan Reinauer00636b02012-04-04 00:08:51 +020024
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
33 Memory32Fixed(ReadWrite, DEFAULT_MCHBAR, 0x00004000)
34 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"