2 * This file is part of the coreboot project.
4 * Copyright (C) 2014 Google Inc.
5 * Copyright (C) 2015 Intel Corp.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
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.
17 #include <console/console.h>
18 #include <device/device.h>
19 #include <device/pci.h>
20 #include <device/pci_def.h>
21 #include <device/pci_ids.h>
22 #include <reg_script.h>
25 #include <soc/iomap.h>
26 #include <soc/pci_devs.h>
27 #include <soc/ramstage.h>
29 static const struct device_operations device_ops
= {
30 .read_resources
= pci_dev_read_resources
,
31 .set_resources
= pci_dev_set_resources
,
32 .enable_resources
= pci_dev_enable_resources
,
36 .ops_pci
= &soc_pci_ops
,
39 static const struct pci_driver southcluster __pci_driver
= {
41 .vendor
= PCI_VENDOR_ID_INTEL
,