Angel Pons | 4b42983 | 2020-04-02 23:48:50 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 2 | |
Angel Pons | 95de231 | 2020-02-17 13:08:53 +0100 | [diff] [blame] | 3 | #include "../ironlake.h" |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 4 | #include "hostbridge.asl" |
Elyes HAOUAS | 4ec67fc | 2019-10-30 12:39:17 +0100 | [diff] [blame] | 5 | #include <southbridge/intel/common/rcba.h> |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 6 | |
| 7 | /* PCI Device Resource Consumption */ |
| 8 | Device (PDRC) |
| 9 | { |
| 10 | Name (_HID, EISAID("PNP0C02")) |
| 11 | Name (_UID, 1) |
| 12 | |
| 13 | Name (PDRS, ResourceTemplate() { |
Elyes HAOUAS | 4ec67fc | 2019-10-30 12:39:17 +0100 | [diff] [blame] | 14 | Memory32Fixed(ReadWrite, DEFAULT_RCBA, 0x00004000) |
Paul Menzel | 20f83d5 | 2014-02-11 10:38:27 +0100 | [diff] [blame] | 15 | Memory32Fixed(ReadWrite, DEFAULT_MCHBAR, 0x00008000) |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 16 | Memory32Fixed(ReadWrite, DEFAULT_DMIBAR, 0x00001000) |
| 17 | Memory32Fixed(ReadWrite, DEFAULT_EPBAR, 0x00001000) |
Kyösti Mälkki | 503d324 | 2019-03-05 07:54:28 +0200 | [diff] [blame] | 18 | Memory32Fixed(ReadWrite, CONFIG_MMCONF_BASE_ADDRESS, 0x04000000) |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 19 | Memory32Fixed(ReadWrite, 0xfed20000, 0x00020000) // Misc ICH |
| 20 | Memory32Fixed(ReadWrite, 0xfed40000, 0x00005000) // Misc ICH |
| 21 | Memory32Fixed(ReadWrite, 0xfed45000, 0x0004b000) // Misc ICH |
| 22 | |
Julius Werner | cd49cce | 2019-03-05 16:53:33 -0800 | [diff] [blame] | 23 | #if CONFIG(CHROMEOS_RAMOOPS) |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 24 | Memory32Fixed(ReadWrite, CONFIG_CHROMEOS_RAMOOPS_RAM_START, |
| 25 | CONFIG_CHROMEOS_RAMOOPS_RAM_SIZE) |
| 26 | #endif |
| 27 | |
| 28 | /* Required for SandyBridge sighting 3715511 */ |
| 29 | Memory32Fixed(ReadWrite, 0x20000000, 0x00200000) |
| 30 | Memory32Fixed(ReadWrite, 0x40000000, 0x00200000) |
| 31 | }) |
| 32 | |
| 33 | // Current Resource Settings |
| 34 | Method (_CRS, 0, Serialized) |
| 35 | { |
| 36 | Return(PDRS) |
| 37 | } |
| 38 | } |