![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/pci_ops.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_def.h>
#include <soc/pch.h>
#include <soc/pci_devs.h>
#include <soc/rcba.h>
#include <soc/serialio.h>
#include <soc/spi.h>
#include <southbridge/intel/lynxpoint/iobp.h>
Go to the source code of this file.
Functions | |
u8 | pch_revision (void) |
u16 | pch_type (void) |
int | pch_is_wpt (void) |
int | pch_is_wpt_ulx (void) |
u32 | pch_read_soft_strap (int id) |
static void | pch_enable_d3hot (struct device *dev) |
static void | rcba_function_disable (u32 reg, u32 bit) |
void | pch_disable_devfn (struct device *dev) |
static void | broadwell_pch_enable_dev (struct device *dev) |
Variables | |
struct chip_operations | soc_intel_broadwell_pch_ops |
Definition at line 168 of file pch.c.
References BIOS_DEBUG, dev_path(), pci_path::devfn, DEVICE_PATH_PCI, device_operations::enable, device::enabled, device::ops, device::path, PCH_DEV_SLOT_EHCI, PCH_DEV_SLOT_HDA, PCH_DEV_SLOT_PCIE, pch_disable_devfn(), device_path::pci, pci_and_config16(), PCI_COMMAND, PCI_COMMAND_IO, PCI_COMMAND_MASTER, PCI_COMMAND_MEMORY, PCI_COMMAND_SERR, pci_or_config16(), PCI_SLOT, printk, and device_path::type.
Definition at line 77 of file pch.c.
Referenced by broadwell_pch_enable_dev(), and pch_enable().
Definition at line 64 of file pch.c.
References PCH_PCS, PCH_PCS_PS_D3HOT, and pci_or_config32().
Referenced by pch_disable_devfn().
int pch_is_wpt | ( | void | ) |
Definition at line 26 of file pch.c.
References pch_type().
Referenced by adsp_init(), pch_cg_init(), pch_enable_mphy(), and pch_pm_init().
int pch_is_wpt_ulx | ( | void | ) |
Definition at line 32 of file pch.c.
References lpcid, pch_type(), PCH_WPT_BDW_Y_BASE, PCH_WPT_BDW_Y_PREMIUM, and PCH_WPT_BDW_Y_SAMPLE.
Referenced by pch_enable_mphy().
u32 pch_read_soft_strap | ( | int | id | ) |
Definition at line 46 of file pch.c.
References SPIBAR32, SPIBAR_FDOC, and SPIBAR_FDOD.
Referenced by pch_enable_mphy().
Definition at line 15 of file pch.c.
References PCH_DEV_LPC, pci_read_config8(), and PCI_REVISION_ID.
Referenced by report_pch_info().
Definition at line 20 of file pch.c.
References PCH_DEV_LPC, PCI_DEVICE_ID, and pci_read_config16().
Referenced by pch_is_wpt(), pch_is_wpt_ulx(), pch_silicon_type(), and report_pch_info().
Definition at line 70 of file pch.c.
References RCBA32, and RCBA32_OR.
Referenced by pch_disable_devfn().
struct chip_operations soc_intel_broadwell_pch_ops |