soc: Remove copyright notices
[coreboot.git] / src / soc / amd / picasso / usb.c
blobfed1c9b64df14fdf81951e65ffc984ad69cca744
1 /*
2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #include <console/console.h>
16 #include <device/device.h>
17 #include <device/pci.h>
18 #include <device/pci_ids.h>
19 #include <device/pci_ops.h>
20 #include <device/pci_ehci.h>
21 #include <soc/acpi.h>
22 #include <soc/pci_devs.h>
23 #include <soc/southbridge.h>
24 #include <amdblocks/acpimmio.h>
26 static void picasso_usb_init(struct device *dev)
28 /* USB overcurrent configuration is programmed inside the FSP */
30 printk(BIOS_DEBUG, "%s\n", __func__);
33 static struct pci_operations lops_pci = {
34 .set_subsystem = pci_dev_set_subsystem,
37 static struct device_operations usb_ops = {
38 .read_resources = pci_dev_read_resources,
39 .set_resources = pci_dev_set_resources,
40 .enable_resources = pci_dev_enable_resources,
41 .init = picasso_usb_init,
42 .scan_bus = scan_static_bus,
43 .acpi_name = soc_acpi_name,
44 .ops_pci = &lops_pci,
47 static const unsigned short pci_device_ids[] = {
48 PCI_DEVICE_ID_AMD_PCO_XHCI0,
49 PCI_DEVICE_ID_AMD_PCO_XHCI1,
50 PCI_DEVICE_ID_AMD_DALI_XHCI,
54 static const struct pci_driver usb_0_driver __pci_driver = {
55 .ops = &usb_ops,
56 .vendor = PCI_VENDOR_ID_AMD,
57 .devices = pci_device_ids,