#include <device/mmio.h>
#include <device/pci_ops.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include <soc/sata.h>
#include "chip.h"
Go to the source code of this file.
◆ sata_enable()
◆ sata_init()
Definition at line 16 of file sata.c.
References BIOS_DEBUG, PCI_BASE_ADDRESS_5, PCI_COMMAND, PCI_COMMAND_IO, PCI_COMMAND_MASTER, PCI_COMMAND_MEMORY, pci_read_config32(), pci_write_config16(), pci_write_config32(), printk, read32(), SATAGC, SATAGC_AHCI, and write32().
◆ __pci_driver
const struct pci_driver soc_sata __pci_driver |
|
static |
Initial value:= {
}
static struct device_operations sata_ops
static const unsigned short pci_device_ids[]
Definition at line 58 of file sata.c.
◆ pci_device_ids
Initial value:= {
0
}
#define PCI_DID_INTEL_DNV_SATA_AHCI_1
#define PCI_DID_INTEL_DNV_SATA_AHCI_2
Definition at line 58 of file sata.c.
◆ sata_ops
Initial value:= {
}
void pci_dev_enable_resources(struct device *dev)
void pci_dev_read_resources(struct device *dev)
void pci_dev_set_resources(struct device *dev)
struct pci_operations soc_pci_ops
static void sata_enable(struct device *dev)
static void sata_init(struct device *dev)
Definition at line 47 of file sata.c.