1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <soc/pci_devs.h>
4 #include <soc/ramstage.h>
6 #include <device/device.h>
7 #include <device/pci.h>
8 #include <device/pci_ids.h>
12 typedef struct soc_intel_braswell_config config_t
;
14 static void sata_init(struct device
*dev
)
18 static void sata_enable(struct device
*dev
)
20 southcluster_enable_dev(dev
);
23 static struct device_operations sata_ops
= {
24 .read_resources
= pci_dev_read_resources
,
25 .set_resources
= pci_dev_set_resources
,
26 .enable_resources
= pci_dev_enable_resources
,
28 .enable
= sata_enable
,
29 .ops_pci
= &soc_pci_ops
,
32 static const unsigned short pci_device_ids
[] = {
33 AHCI1_DEVID
, /* AHCI */
37 static const struct pci_driver soc_sata __pci_driver
= {
39 .vendor
= PCI_VID_INTEL
,
40 .devices
= pci_device_ids
,