| 1 |
|
| 2 |
|
| 3 |
#include <commonlib/helpers.h> |
| 4 |
#include <console/console.h> |
| 5 |
#include <acpi/acpi.h> |
| 6 |
#include <delay.h> |
| 7 |
#include <cpu/intel/haswell/haswell.h> |
| 8 |
#include <device/device.h> |
| 9 |
#include <device/pci.h> |
| 10 |
#include <device/pci_ids.h> |
| 11 |
#include <device/pci_ops.h> |
| 12 |
#include <boot/tables.h> |
| 13 |
#include <security/intel/txt/txt_register.h> |
| 14 |
#include <southbridge/intel/lynxpoint/pch.h> |
| 15 |
#include <types.h> |
| 16 |
|
| 17 |
#include "chip.h" |
| 18 |
#include "haswell.h" |
| 19 |
|
| 20 |
static const char *northbridge_acpi_name(const struct device *dev) |
| 21 |
{ |
| 22 |
if (dev->path.type == DEVICE_PATH_DOMAIN) |
| 23 |
return "PCI0"; |
| 24 |
|
| 25 |
if (!is_pci_dev_on_bus(dev, 0)) |
| 26 |
return NULL; |
| 27 |
|
| 28 |
switch (dev->path.pci.devfn) { |
| 29 |
case PCI_DEVFN(0, 0): |
| 30 |
return "MCHC"; |
| 31 |
} |
| 32 |
|
| 33 |
return NULL; |
| 34 |
} |
| 35 |
|
| 36 |
struct device_operations haswell_pci_domain_ops = { |
| 37 |
.read_resources = pci_domain_read_resources, |
| 38 |
.set_resources = pci_domain_set_resources, |
| 39 |
.scan_bus = pci_host_bridge_scan_bus, |
| 40 |
.acpi_name = northbridge_acpi_name, |
| 41 |
.write_acpi_tables = northbridge_write_acpi_tables, |
| 42 |
}; |
| 43 |
|
| 44 |
static int get_bar(struct device *dev, unsigned int index, u32 *base, u32 *len) |
| 45 |
{ |
| 46 |
u32 bar = pci_read_config32(dev, index); |
| 47 |
|
| 48 |
|
| 49 |
if (!(bar & 0x1)) |
| 50 |
return 0; |
| 51 |
|
| 52 |
|
| 53 |
*base = bar & ~1; |
| 54 |
|
| 55 |
return 1; |
| 56 |
} |
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
static int get_bar_in_mchbar(struct device *dev, unsigned int index, u32 *base, u32 *len) |
| 63 |
{ |
| 64 |
u32 bar = mchbar_read32(index); |
| 65 |
|
| 66 |
|
| 67 |
if (!(bar & 0x1)) |
| 68 |
return 0; |
| 69 |
|
| 70 |
|
| 71 |
*base = bar & ~1; |
| 72 |
|
| 73 |
return 1; |
| 74 |
} |
| 75 |
|
| 76 |
struct fixed_mmio_descriptor { |
| 77 |
unsigned int index; |
| 78 |
u32 size; |
| 79 |
int (*get_resource)(struct device *dev, unsigned int index, u32 *base, u32 *size); |
| 80 |
const char *description; |
| 81 |
}; |
| 82 |
|
| 83 |
struct fixed_mmio_descriptor mc_fixed_resources[] = { |
| 84 |
{ MCHBAR, MCH_BASE_SIZE, get_bar, "MCHBAR" }, |
| 85 |
{ DMIBAR, DMI_BASE_SIZE, get_bar, "DMIBAR" }, |
| 86 |
{ EPBAR, EP_BASE_SIZE, get_bar, "EPBAR" }, |
| 87 |
{ GDXCBAR, GDXC_BASE_SIZE, get_bar_in_mchbar, "GDXCBAR" }, |
| 88 |
{ EDRAMBAR, EDRAM_BASE_SIZE, get_bar_in_mchbar, "EDRAMBAR" }, |
| 89 |
}; |
| 90 |
|
| 91 |
|
| 92 |
static void mc_add_fixed_mmio_resources(struct device *dev) |
| 93 |
{ |
| 94 |
int i; |
| 95 |
|
| 96 |
for (i = 0; i < ARRAY_SIZE(mc_fixed_resources); i++) { |
| 97 |
u32 base; |
| 98 |
u32 size; |
| 99 |
unsigned int index; |
| 100 |
|
| 101 |
size = mc_fixed_resources[i].size; |
| 102 |
index = mc_fixed_resources[i].index; |
| 103 |
if (!mc_fixed_resources[i].get_resource(dev, index, &base, &size)) |
| 104 |
continue; |
| 105 |
|
| 106 |
mmio_range(dev, mc_fixed_resources[i].index, base, size); |
| 107 |
printk(BIOS_DEBUG, "%s: Adding %s @ %x 0x%08lx-0x%08lx.\n", |
| 108 |
__func__, mc_fixed_resources[i].description, index, |
| 109 |
(unsigned long)base, (unsigned long)(base + size - 1)); |
| 110 |
} |
| 111 |
|
| 112 |
mmconf_resource(dev, PCIEXBAR); |
| 113 |
} |
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
struct map_entry { |
| 141 |
int reg; |
| 142 |
int is_64_bit; |
| 143 |
int is_limit; |
| 144 |
const char *description; |
| 145 |
}; |
| 146 |
|
| 147 |
static void read_map_entry(struct device *dev, struct map_entry *entry, uint64_t *result) |
| 148 |
{ |
| 149 |
uint64_t value; |
| 150 |
uint64_t mask; |
| 151 |
|
| 152 |
|
| 153 |
mask = ((1ULL << 20) - 1); |
| 154 |
mask = ~mask; |
| 155 |
|
| 156 |
value = 0; |
| 157 |
|
| 158 |
if (entry->is_64_bit) { |
| 159 |
value = pci_read_config32(dev, entry->reg + 4); |
| 160 |
value <<= 32; |
| 161 |
} |
| 162 |
|
| 163 |
value |= pci_read_config32(dev, entry->reg); |
| 164 |
value &= mask; |
| 165 |
|
| 166 |
if (entry->is_limit) |
| 167 |
value |= ~mask; |
| 168 |
|
| 169 |
*result = value; |
| 170 |
} |
| 171 |
|
| 172 |
#define MAP_ENTRY(reg_, is_64_, is_limit_, desc_) \ |
| 173 |
{ \ |
| 174 |
.reg = reg_, \ |
| 175 |
.is_64_bit = is_64_, \ |
| 176 |
.is_limit = is_limit_, \ |
| 177 |
.description = desc_, \ |
| 178 |
} |
| 179 |
|
| 180 |
#define MAP_ENTRY_BASE_32(reg_, desc_) MAP_ENTRY(reg_, 0, 0, desc_) |
| 181 |
#define MAP_ENTRY_BASE_64(reg_, desc_) MAP_ENTRY(reg_, 1, 0, desc_) |
| 182 |
#define MAP_ENTRY_LIMIT_64(reg_, desc_) MAP_ENTRY(reg_, 1, 1, desc_) |
| 183 |
|
| 184 |
enum { |
| 185 |
TOM_REG, |
| 186 |
TOUUD_REG, |
| 187 |
MESEG_BASE_REG, |
| 188 |
MESEG_LIMIT_REG, |
| 189 |
REMAP_BASE_REG, |
| 190 |
REMAP_LIMIT_REG, |
| 191 |
TOLUD_REG, |
| 192 |
BGSM_REG, |
| 193 |
BDSM_REG, |
| 194 |
TSEG_REG, |
| 195 |
|
| 196 |
NUM_MAP_ENTRIES, |
| 197 |
}; |
| 198 |
|
| 199 |
static struct map_entry memory_map[NUM_MAP_ENTRIES] = { |
| 200 |
[TOM_REG] = MAP_ENTRY_BASE_64(TOM, "TOM"), |
| 201 |
[TOUUD_REG] = MAP_ENTRY_BASE_64(TOUUD, "TOUUD"), |
| 202 |
[MESEG_BASE_REG] = MAP_ENTRY_BASE_64(MESEG_BASE, "MESEG_BASE"), |
| 203 |
[MESEG_LIMIT_REG] = MAP_ENTRY_LIMIT_64(MESEG_LIMIT, "MESEG_LIMIT"), |
| 204 |
[REMAP_BASE_REG] = MAP_ENTRY_BASE_64(REMAPBASE, "REMAP_BASE"), |
| 205 |
[REMAP_LIMIT_REG] = MAP_ENTRY_LIMIT_64(REMAPLIMIT, "REMAP_LIMIT"), |
| 206 |
[TOLUD_REG] = MAP_ENTRY_BASE_32(TOLUD, "TOLUD"), |
| 207 |
[BDSM_REG] = MAP_ENTRY_BASE_32(BDSM, "BDSM"), |
| 208 |
[BGSM_REG] = MAP_ENTRY_BASE_32(BGSM, "BGSM"), |
| 209 |
[TSEG_REG] = MAP_ENTRY_BASE_32(TSEG, "TSEGMB"), |
| 210 |
}; |
| 211 |
|
| 212 |
static void mc_read_map_entries(struct device *dev, uint64_t *values) |
| 213 |
{ |
| 214 |
int i; |
| 215 |
for (i = 0; i < NUM_MAP_ENTRIES; i++) { |
| 216 |
read_map_entry(dev, &memory_map[i], &values[i]); |
| 217 |
} |
| 218 |
} |
| 219 |
|
| 220 |
static void mc_report_map_entries(struct device *dev, uint64_t *values) |
| 221 |
{ |
| 222 |
int i; |
| 223 |
for (i = 0; i < NUM_MAP_ENTRIES; i++) { |
| 224 |
printk(BIOS_DEBUG, "MC MAP: %s: 0x%llx\n", |
| 225 |
memory_map[i].description, values[i]); |
| 226 |
} |
| 227 |
|
| 228 |
printk(BIOS_DEBUG, "MC MAP: GGC: 0x%x\n", pci_read_config16(dev, GGC)); |
| 229 |
} |
| 230 |
|
| 231 |
static void mc_add_dram_resources(struct device *dev, int *resource_cnt) |
| 232 |
{ |
| 233 |
int index; |
| 234 |
uint64_t mc_values[NUM_MAP_ENTRIES]; |
| 235 |
|
| 236 |
|
| 237 |
mc_read_map_entries(dev, &mc_values[0]); |
| 238 |
mc_report_map_entries(dev, &mc_values[0]); |
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
const union dpr_register dpr = { |
| 247 |
.raw = pci_read_config32(dev, DPR), |
| 248 |
}; |
| 249 |
printk(BIOS_DEBUG, "MC MAP: DPR: 0x%x\n", dpr.raw); |
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
|
| 256 |
|
| 257 |
|
| 258 |
|
| 259 |
|
| 260 |
|
| 261 |
|
| 262 |
|
| 263 |
|
| 264 |
|
| 265 |
|
| 266 |
|
| 267 |
|
| 268 |
|
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
|
| 276 |
|
| 277 |
index = *resource_cnt; |
| 278 |
|
| 279 |
|
| 280 |
|
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
ram_range(dev, index++, 0, 0xa0000); |
| 286 |
mmio_from_to(dev, index++, 0xa0000, 0xc0000); |
| 287 |
reserved_ram_from_to(dev, index++, 0xc0000, 1 * MiB); |
| 288 |
|
| 289 |
|
| 290 |
ram_from_to(dev, index++, 1 * MiB, mc_values[TSEG_REG] - dpr.size * MiB); |
| 291 |
|
| 292 |
|
| 293 |
reserved_ram_from_to(dev, index++, mc_values[TSEG_REG] - dpr.size * MiB, |
| 294 |
mc_values[BGSM_REG]); |
| 295 |
|
| 296 |
|
| 297 |
if (mc_values[BGSM_REG] != mc_values[TOLUD_REG]) |
| 298 |
mmio_from_to(dev, index++, mc_values[BGSM_REG], mc_values[TOLUD_REG]); |
| 299 |
|
| 300 |
|
| 301 |
upper_ram_end(dev, index++, mc_values[TOUUD_REG]); |
| 302 |
|
| 303 |
*resource_cnt = index; |
| 304 |
} |
| 305 |
|
| 306 |
static void mc_read_resources(struct device *dev) |
| 307 |
{ |
| 308 |
int index = 0; |
| 309 |
const bool vtd_capable = !(pci_read_config32(dev, CAPID0_A) & VTD_DISABLE); |
| 310 |
|
| 311 |
|
| 312 |
pci_dev_read_resources(dev); |
| 313 |
|
| 314 |
|
| 315 |
mc_add_fixed_mmio_resources(dev); |
| 316 |
|
| 317 |
|
| 318 |
if (vtd_capable) { |
| 319 |
mmio_range(dev, index++, GFXVT_BASE_ADDRESS, GFXVT_BASE_SIZE); |
| 320 |
mmio_range(dev, index++, VTVC0_BASE_ADDRESS, VTVC0_BASE_SIZE); |
| 321 |
} |
| 322 |
|
| 323 |
|
| 324 |
mc_add_dram_resources(dev, &index); |
| 325 |
} |
| 326 |
|
| 327 |
|
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
static void disable_devices(void) |
| 332 |
{ |
| 333 |
static const struct { |
| 334 |
const unsigned int devfn; |
| 335 |
const u32 mask; |
| 336 |
const char *const name; |
| 337 |
} nb_devs[] = { |
| 338 |
{ PCI_DEVFN(1, 2), DEVEN_D1F2EN, "PEG12" }, |
| 339 |
{ PCI_DEVFN(1, 1), DEVEN_D1F1EN, "PEG11" }, |
| 340 |
{ PCI_DEVFN(1, 0), DEVEN_D1F0EN, "PEG10" }, |
| 341 |
{ PCI_DEVFN(2, 0), DEVEN_D2EN | DEVEN_D3EN, "IGD" }, |
| 342 |
{ PCI_DEVFN(3, 0), DEVEN_D3EN, "Mini-HD audio" }, |
| 343 |
{ PCI_DEVFN(4, 0), DEVEN_D4EN, "\"device 4\"" }, |
| 344 |
{ PCI_DEVFN(7, 0), DEVEN_D7EN, "\"device 7\"" }, |
| 345 |
}; |
| 346 |
|
| 347 |
struct device *host_dev = pcidev_on_root(0, 0); |
| 348 |
u32 deven; |
| 349 |
size_t i; |
| 350 |
|
| 351 |
if (!host_dev) |
| 352 |
return; |
| 353 |
|
| 354 |
deven = pci_read_config32(host_dev, DEVEN); |
| 355 |
|
| 356 |
for (i = 0; i < ARRAY_SIZE(nb_devs); i++) { |
| 357 |
struct device *dev = pcidev_path_on_root(nb_devs[i].devfn); |
| 358 |
if (!dev || !dev->enabled) { |
| 359 |
printk(BIOS_DEBUG, "Disabling %s.\n", nb_devs[i].name); |
| 360 |
deven &= ~nb_devs[i].mask; |
| 361 |
} |
| 362 |
} |
| 363 |
|
| 364 |
pci_write_config32(host_dev, DEVEN, deven); |
| 365 |
} |
| 366 |
|
| 367 |
static void init_egress(void) |
| 368 |
{ |
| 369 |
|
| 370 |
epbar_write32(EPVC0RCTL, 1 << 31 | 0 << 24 | 1 << 0); |
| 371 |
|
| 372 |
|
| 373 |
epbar_write32(EPPVCCAP1, 0 << 4 | 1 << 0); |
| 374 |
|
| 375 |
|
| 376 |
epbar_write32(EPVC1RCTL, 1 << 31 | 1 << 24 | 1 << 1); |
| 377 |
|
| 378 |
|
| 379 |
while ((epbar_read16(EPVC1RSTS) & (1 << 1)) != 0) |
| 380 |
; |
| 381 |
} |
| 382 |
|
| 383 |
static void northbridge_dmi_init(void) |
| 384 |
{ |
| 385 |
const bool is_haswell_h = !CONFIG(INTEL_LYNXPOINT_LP); |
| 386 |
|
| 387 |
|
| 388 |
if (is_haswell_h) { |
| 389 |
|
| 390 |
dmibar_setbits16(DMILCTL2, 1 << 6); |
| 391 |
|
| 392 |
dmibar_setbits32(DMIL0SLAT, 1 << 31); |
| 393 |
dmibar_setbits32(DMILLTC, 1 << 29); |
| 394 |
|
| 395 |
dmibar_clrsetbits32(DMI_AFE_PM_TMR, 0x1f, 0x13); |
| 396 |
} |
| 397 |
|
| 398 |
|
| 399 |
dmibar_write32(DMIUESTS, 0xffffffff); |
| 400 |
dmibar_write32(DMICESTS, 0xffffffff); |
| 401 |
|
| 402 |
if (is_haswell_h) { |
| 403 |
|
| 404 |
dmibar_setbits16(DMILCTL, 1 << 1 | 1 << 0); |
| 405 |
} |
| 406 |
} |
| 407 |
|
| 408 |
static void northbridge_topology_init(void) |
| 409 |
{ |
| 410 |
const u32 eple_a[3] = { EPLE2A, EPLE3A, EPLE4A }; |
| 411 |
const u32 eple_d[3] = { EPLE2D, EPLE3D, EPLE4D }; |
| 412 |
|
| 413 |
|
| 414 |
epbar_clrsetbits32(EPESD, 0xff << 16, 1 << 16); |
| 415 |
|
| 416 |
epbar_clrsetbits32(EPLE1D, 0xff << 16, 1 | 1 << 16); |
| 417 |
epbar_write32(EPLE1A, CONFIG_FIXED_DMIBAR_MMIO_BASE); |
| 418 |
epbar_write32(EPLE1A + 4, 0); |
| 419 |
|
| 420 |
for (unsigned int i = 0; i <= 2; i++) { |
| 421 |
const struct device *const dev = pcidev_on_root(1, i); |
| 422 |
|
| 423 |
if (!dev || !dev->enabled) |
| 424 |
continue; |
| 425 |
|
| 426 |
epbar_write32(eple_a[i], (u32)PCI_DEV(0, 1, i)); |
| 427 |
epbar_write32(eple_a[i] + 4, 0); |
| 428 |
|
| 429 |
epbar_clrsetbits32(eple_d[i], 0xff << 16, 1 | 1 << 16); |
| 430 |
|
| 431 |
pci_update_config32(dev, PEG_ESD, ~(0xff << 16), (1 << 16)); |
| 432 |
pci_write_config32(dev, PEG_LE1A, CONFIG_FIXED_EPBAR_MMIO_BASE); |
| 433 |
pci_write_config32(dev, PEG_LE1A + 4, 0); |
| 434 |
pci_update_config32(dev, PEG_LE1D, ~(0xff << 16), (1 << 16) | 1); |
| 435 |
|
| 436 |
|
| 437 |
pci_or_config32(dev, PEG_DCAP2, 0); |
| 438 |
} |
| 439 |
|
| 440 |
|
| 441 |
dmibar_clrsetbits32(DMIESD, 0xff << 16, 1 << 16); |
| 442 |
|
| 443 |
dmibar_clrsetbits32(DMILE1D, 0xffff << 16, 1 | 2 << 16); |
| 444 |
dmibar_write32(DMILE1A, CONFIG_FIXED_RCBA_MMIO_BASE); |
| 445 |
dmibar_write32(DMILE1A + 4, 0); |
| 446 |
|
| 447 |
dmibar_write32(DMILE2A, CONFIG_FIXED_EPBAR_MMIO_BASE); |
| 448 |
dmibar_write32(DMILE2A + 4, 0); |
| 449 |
dmibar_clrsetbits32(DMILE2D, 0xff << 16, 1 | 1 << 16); |
| 450 |
|
| 451 |
|
| 452 |
dmibar_setbits32(DMIPVCCAP1, 0); |
| 453 |
dmibar_setbits32(DMILCAP, 0); |
| 454 |
} |
| 455 |
|
| 456 |
static void northbridge_init(struct device *dev) |
| 457 |
{ |
| 458 |
init_egress(); |
| 459 |
northbridge_dmi_init(); |
| 460 |
northbridge_topology_init(); |
| 461 |
|
| 462 |
|
| 463 |
mchbar_clrsetbits8(INTRDIRCTL, 0x7, 0x4); |
| 464 |
|
| 465 |
disable_devices(); |
| 466 |
|
| 467 |
|
| 468 |
|
| 469 |
|
| 470 |
|
| 471 |
mchbar_setbits8(BIOS_RESET_CPL, 3); |
| 472 |
printk(BIOS_DEBUG, "Set BIOS_RESET_CPL\n"); |
| 473 |
|
| 474 |
|
| 475 |
mdelay(1); |
| 476 |
set_power_limits(28); |
| 477 |
} |
| 478 |
|
| 479 |
static void northbridge_final(struct device *dev) |
| 480 |
{ |
| 481 |
pci_or_config16(dev, GGC, 1 << 0); |
| 482 |
pci_or_config32(dev, DPR, 1 << 0); |
| 483 |
pci_or_config32(dev, MESEG_LIMIT, 1 << 10); |
| 484 |
pci_or_config32(dev, REMAPBASE, 1 << 0); |
| 485 |
pci_or_config32(dev, REMAPLIMIT, 1 << 0); |
| 486 |
pci_or_config32(dev, TOM, 1 << 0); |
| 487 |
pci_or_config32(dev, TOUUD, 1 << 0); |
| 488 |
pci_or_config32(dev, BDSM, 1 << 0); |
| 489 |
pci_or_config32(dev, BGSM, 1 << 0); |
| 490 |
pci_or_config32(dev, TSEG, 1 << 0); |
| 491 |
pci_or_config32(dev, TOLUD, 1 << 0); |
| 492 |
|
| 493 |
|
| 494 |
mchbar_setbits32(MC_LOCK, 0x8f); |
| 495 |
|
| 496 |
mchbar_setbits32(MMIO_PAVP_MSG, 1 << 0); |
| 497 |
mchbar_setbits32(PCU_DDR_PTM_CTL, 1 << 5); |
| 498 |
mchbar_setbits32(DMIVCLIM, 1 << 31); |
| 499 |
mchbar_setbits32(CRDTLCK, 1 << 0); |
| 500 |
mchbar_setbits32(MCARBLCK, 1 << 0); |
| 501 |
mchbar_setbits32(REQLIM, 1 << 31); |
| 502 |
mchbar_setbits32(UMAGFXCTL, 1 << 0); |
| 503 |
mchbar_setbits32(VTDTRKLCK, 1 << 0); |
| 504 |
|
| 505 |
|
| 506 |
mchbar_setbits32(VDMBDFBARKVM, 0); |
| 507 |
mchbar_setbits32(VDMBDFBARPAVP, 0); |
| 508 |
mchbar_setbits32(HDAUDRID, 0); |
| 509 |
} |
| 510 |
|
| 511 |
static struct device_operations mc_ops = { |
| 512 |
.read_resources = mc_read_resources, |
| 513 |
.set_resources = pci_dev_set_resources, |
| 514 |
.enable_resources = pci_dev_enable_resources, |
| 515 |
.init = northbridge_init, |
| 516 |
.final = northbridge_final, |
| 517 |
.ops_pci = &pci_dev_ops_pci, |
| 518 |
}; |
| 519 |
|
| 520 |
static const unsigned short mc_pci_device_ids[] = { |
| 521 |
0x0c00, |
| 522 |
0x0c04, |
| 523 |
0x0a04, |
| 524 |
0x0c08, |
| 525 |
0x0d00, |
| 526 |
0x0d04, |
| 527 |
0x0d08, |
| 528 |
0 |
| 529 |
}; |
| 530 |
|
| 531 |
static const struct pci_driver mc_driver_hsw __pci_driver = { |
| 532 |
.ops = &mc_ops, |
| 533 |
.vendor = PCI_VID_INTEL, |
| 534 |
.devices = mc_pci_device_ids, |
| 535 |
}; |
| 536 |
|
| 537 |
struct device_operations haswell_cpu_bus_ops = { |
| 538 |
.read_resources = noop_read_resources, |
| 539 |
.set_resources = noop_set_resources, |
| 540 |
.init = mp_cpu_bus_init, |
| 541 |
.acpi_fill_ssdt = generate_cpu_entries, |
| 542 |
}; |
| 543 |
|
| 544 |
struct chip_operations northbridge_intel_haswell_ops = { |
| 545 |
.name = "Intel Haswell integrated Northbridge", |
| 546 |
}; |