14 #include <soc/pci_devs.h>
23 if (!
CONFIG(LEGACY_UART_MODE))
45 static const struct pci_driver uart_driver
__pci_driver = {
71 if (
CONFIG(LEGACY_UART_MODE))
#define printk(level,...)
DEVTREE_CONST struct device * pcidev_on_root(uint8_t dev, uint8_t fn)
void compact_resources(struct device *dev)
See if we have unused but allocated resource structures.
struct resource * probe_resource(const struct device *dev, unsigned int index)
See if a resource structure already exists for a given index.
static __always_inline void pci_or_config32(const struct device *dev, u16 reg, u32 ormask)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define PCI_BASE_ADDRESS_0
#define PCI_BASE_ADDRESS_1
void pci_dev_init(struct device *dev)
Default handler: only runs the relevant PCI BIOS.
void pci_dev_enable_resources(struct device *dev)
void pci_dev_read_resources(struct device *dev)
void pci_dev_set_resources(struct device *dev)
#define PCI_DID_INTEL_DNV_HSUART
#define IORESOURCE_ASSIGNED
#define DENVERTON_UARTS_TO_INI
#define PCI_FUNC_RDCFG_HIDE
static void hide_hsuarts(void)
static void dnv_ns_uart_read_resources(struct device *dev)
static struct device_operations uart_ops
void platform_fsp_notify_status(enum fsp_notify_phase phase)
static const struct pci_driver uart_driver __pci_driver
void(* read_resources)(struct device *dev)