coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.c File Reference
#include <console/console.h>
#include <device/pci_ops.h>
#include <device/pci_def.h>
#include <northbridge/intel/pineview/pineview.h>
#include <northbridge/intel/pineview/chip.h>
#include <option.h>
#include <types.h>
Include dependency graph for early_init.c:

Go to the source code of this file.

Macros

#define LPC_DEV   PCI_DEV(0, 0x1f, 0)
 
#define CRCLK_PINEVIEW   0x02
 
#define CDCLK_PINEVIEW   0x10
 

Functions

static void early_graphics_setup (void)
 
static void early_misc_setup (void)
 
static void pineview_setup_bars (void)
 
void pineview_early_init (void)
 

Macro Definition Documentation

◆ CDCLK_PINEVIEW

#define CDCLK_PINEVIEW   0x10

Definition at line 14 of file early_init.c.

◆ CRCLK_PINEVIEW

#define CRCLK_PINEVIEW   0x02

Definition at line 13 of file early_init.c.

◆ LPC_DEV

#define LPC_DEV   PCI_DEV(0, 0x1f, 0)

Definition at line 11 of file early_init.c.

Function Documentation

◆ early_graphics_setup()

◆ early_misc_setup()

static void early_misc_setup ( void  )
static

Definition at line 97 of file early_init.c.

References dmibar_write32(), early_graphics_setup(), HIT0, HIT4, LPC_DEV, mchbar_read32(), mchbar_write32(), PCI_DEV, pci_write_config32(), pci_write_config8(), and RCBA32.

Referenced by pineview_early_init().

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

◆ pineview_early_init()

void pineview_early_init ( void  )

Definition at line 155 of file early_init.c.

References BIOS_DEBUG, early_misc_setup(), GCS, pineview_setup_bars(), printk, and RCBA32.

Referenced by mainboard_romstage_entry().

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

◆ pineview_setup_bars()

static void pineview_setup_bars ( void  )
static

Definition at line 132 of file early_init.c.

References BIOS_DEBUG, DEFAULT_PMIOBAR, DMIBAR, EPBAR, HOST_BRIDGE, MCHBAR, PAM0, PAM1, PAM2, PAM3, PAM4, PAM5, PAM6, pci_write_config32(), pci_write_config8(), PMIOBAR, and printk.

Referenced by pineview_early_init().

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