coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_pch.c File Reference
#include <device/device.h>
#include <device/pci_def.h>
#include <device/pci_ops.h>
#include <device/smbus_host.h>
#include <soc/iomap.h>
#include <soc/lpc.h>
#include <soc/pch.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/rcba.h>
#include <soc/romstage.h>
#include <soc/intel/broadwell/pch/chip.h>
Include dependency graph for early_pch.c:

Go to the source code of this file.

Functions

static void pch_route_interrupts (void)
 
static void pch_enable_lpc (void)
 
void pch_early_init (void)
 

Function Documentation

◆ pch_early_init()

void pch_early_init ( void  )

Definition at line 67 of file early_pch.c.

References _PCH_DEV, enable_smbus(), pch_enable_lpc(), pch_route_interrupts(), pci_and_config32(), and pci_or_config32().

Referenced by mainboard_romstage_entry().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pch_enable_lpc()

static void pch_enable_lpc ( void  )
static

Definition at line 51 of file early_pch.c.

References device::chip_info, config, LPC_GEN1_DEC, LPC_GEN2_DEC, LPC_GEN3_DEC, LPC_GEN4_DEC, PCH_DEV_LPC, pci_write_config32(), and pcidev_on_root().

Referenced by bootblock_early_southbridge_init(), bootblock_soc_early_init(), pch_early_init(), and pch_early_iorange_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pch_route_interrupts()

static void pch_route_interrupts ( void  )
static