![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/pci.h>
#include <device/pci_ids.h>
#include <console/console.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
Go to the source code of this file.
Functions | |
static void | pci_read_bases (struct device *dev, unsigned int howmany) |
Read the base address registers for a given device. More... | |
static void | pci_csme_ie_kt_read_resources (struct device *dev) |
Variables | |
static struct device_operations | csme_ie_kt_ops |
static const unsigned short | pci_device_ids [] |
static const struct pci_driver csme_ie_kt | __pci_driver |
CSME/IE KT has 2 BARs to check: 0x10 - KT IO BAR 0x14 - KT Memory BAR CSME/IE KT has no Expansion ROM BAR to check: 0x30 - KT Host XRBAR, READ ONLY
Definition at line 42 of file csme_ie_kt.c.
Read the base address registers for a given device.
dev | Pointer to the dev structure. |
howmany | How many registers to read. |
Workaround for Denverton-NS silicon (Rev A0/A1 for CSME/IE, Rev B0 for CSME only) CSME&IEs KT IO bar must be 16-byte aligned
Definition at line 15 of file csme_ie_kt.c.
References resource::align, BIOS_DEBUG, compact_resources(), resource::flags, resource::gran, resource::index, IORESOURCE_IO, IORESOURCE_PCI64, PCI_BASE_ADDRESS_0, pci_get_resource(), printk, and resource::size.
|
static |
Definition at line 61 of file csme_ie_kt.c.
|
static |
Definition at line 42 of file csme_ie_kt.c.
|
static |
Definition at line 61 of file csme_ie_kt.c.