Damien Zammit | 43a1f78 | 2015-08-19 15:16:59 +1000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
Damien Zammit | 43a1f78 | 2015-08-19 15:16:59 +1000 | [diff] [blame] | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU General Public License as |
| 7 | * published by the Free Software Foundation; version 2 of |
| 8 | * 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. |
| 14 | */ |
| 15 | |
| 16 | #include "hostbridge.asl" |
| 17 | #include "../iomap.h" |
Elyes HAOUAS | 4ec67fc | 2019-10-30 12:39:17 +0100 | [diff] [blame] | 18 | #include <southbridge/intel/common/rcba.h> |
Damien Zammit | 43a1f78 | 2015-08-19 15:16:59 +1000 | [diff] [blame] | 19 | |
| 20 | /* PCI Device Resource Consumption */ |
| 21 | Device (PDRC) |
| 22 | { |
| 23 | Name (_HID, EISAID("PNP0C02")) |
| 24 | Name (_UID, 1) |
| 25 | |
| 26 | Name (PDRS, ResourceTemplate() { |
Elyes HAOUAS | 4ec67fc | 2019-10-30 12:39:17 +0100 | [diff] [blame] | 27 | Memory32Fixed(ReadWrite, DEFAULT_RCBA, 0x00004000) |
Damien Zammit | 43a1f78 | 2015-08-19 15:16:59 +1000 | [diff] [blame] | 28 | Memory32Fixed(ReadWrite, DEFAULT_MCHBAR, 0x00004000) |
| 29 | Memory32Fixed(ReadWrite, DEFAULT_DMIBAR, 0x00001000) |
| 30 | Memory32Fixed(ReadWrite, DEFAULT_EPBAR, 0x00001000) |
Kyösti Mälkki | 503d324 | 2019-03-05 07:54:28 +0200 | [diff] [blame] | 31 | Memory32Fixed(ReadWrite, CONFIG_MMCONF_BASE_ADDRESS, 0x04000000) |
Damien Zammit | 43a1f78 | 2015-08-19 15:16:59 +1000 | [diff] [blame] | 32 | Memory32Fixed(ReadWrite, 0xfed20000, 0x00020000) // Misc ICH |
| 33 | Memory32Fixed(ReadWrite, 0xfed40000, 0x00005000) // Misc ICH |
| 34 | Memory32Fixed(ReadWrite, 0xfed45000, 0x0004b000) // Misc ICH |
| 35 | }) |
| 36 | |
| 37 | // Current Resource Settings |
| 38 | Method (_CRS, 0, Serialized) |
| 39 | { |
| 40 | Return(PDRS) |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | // PCIe graphics port 0:1.0 |
| 45 | #include "peg.asl" |