mb/google/brya/var/orisa: Update Type C DisplayPort HPD Configuration
[coreboot2.git] / src / soc / intel / braswell / sata.c
blob1c06cae63074e3dda55926f4d35b3681b89cd268
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <soc/pci_devs.h>
4 #include <soc/ramstage.h>
5 #include <soc/sata.h>
6 #include <device/device.h>
7 #include <device/pci.h>
8 #include <device/pci_ids.h>
10 #include "chip.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,
27 .init = sata_init,
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 = {
38 .ops = &sata_ops,
39 .vendor = PCI_VID_INTEL,
40 .devices = pci_device_ids,