Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2007-2009 coresystems GmbH |
Patrick Rudolph | 0b643d2 | 2017-07-05 20:07:06 +0200 | [diff] [blame] | 5 | * Copyright (C) 2017-2018 Patrick Rudolph <siro@das-labor.org> |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 6 | * |
| 7 | * This program is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU General Public License as |
| 9 | * published by the Free Software Foundation; version 2 of |
| 10 | * the License. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 16 | */ |
| 17 | |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 18 | #include "../sandybridge.h" |
Duncan Laurie | 55864ef | 2012-07-16 12:27:42 -0700 | [diff] [blame] | 19 | #include "hostbridge.asl" |
Patrick Rudolph | 0b643d2 | 2017-07-05 20:07:06 +0200 | [diff] [blame] | 20 | #include "peg.asl" |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 21 | |
| 22 | /* PCI Device Resource Consumption */ |
| 23 | Device (PDRC) |
| 24 | { |
| 25 | Name (_HID, EISAID("PNP0C02")) |
| 26 | Name (_UID, 1) |
| 27 | |
| 28 | Name (PDRS, ResourceTemplate() { |
| 29 | Memory32Fixed(ReadWrite, 0xfed1c000, 0x00004000) // RCBA |
Paul Menzel | 20f83d5 | 2014-02-11 10:38:27 +0100 | [diff] [blame] | 30 | Memory32Fixed(ReadWrite, DEFAULT_MCHBAR, 0x00008000) |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 31 | Memory32Fixed(ReadWrite, DEFAULT_DMIBAR, 0x00001000) |
| 32 | Memory32Fixed(ReadWrite, DEFAULT_EPBAR, 0x00001000) |
Kyösti Mälkki | 503d324 | 2019-03-05 07:54:28 +0200 | [diff] [blame] | 33 | Memory32Fixed(ReadWrite, CONFIG_MMCONF_BASE_ADDRESS, 0x04000000) |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 34 | Memory32Fixed(ReadWrite, 0xfed20000, 0x00020000) // Misc ICH |
| 35 | Memory32Fixed(ReadWrite, 0xfed40000, 0x00005000) // Misc ICH |
| 36 | Memory32Fixed(ReadWrite, 0xfed45000, 0x0004b000) // Misc ICH |
| 37 | |
Julius Werner | cd49cce | 2019-03-05 16:53:33 -0800 | [diff] [blame] | 38 | #if CONFIG(CHROMEOS_RAMOOPS) |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 39 | Memory32Fixed(ReadWrite, CONFIG_CHROMEOS_RAMOOPS_RAM_START, |
| 40 | CONFIG_CHROMEOS_RAMOOPS_RAM_SIZE) |
| 41 | #endif |
| 42 | |
| 43 | /* Required for SandyBridge sighting 3715511 */ |
| 44 | Memory32Fixed(ReadWrite, 0x20000000, 0x00200000) |
| 45 | Memory32Fixed(ReadWrite, 0x40000000, 0x00200000) |
| 46 | }) |
| 47 | |
| 48 | // Current Resource Settings |
| 49 | Method (_CRS, 0, Serialized) |
| 50 | { |
| 51 | Return(PDRS) |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | // Integrated graphics 0:2.0 |
Nico Huber | 62047d1 | 2015-08-27 15:07:03 +0200 | [diff] [blame] | 56 | #include <drivers/intel/gma/acpi/pch.asl> |