coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.c File Reference
#include <bootblock_common.h>
#include <stdint.h>
#include <arch/io.h>
#include <device/pnp_ops.h>
#include <device/pci_ops.h>
#include <option.h>
#include <console/console.h>
#include <northbridge/intel/i945/i945.h>
#include <southbridge/intel/i82801gx/i82801gx.h>
Include dependency graph for early_init.c:

Go to the source code of this file.

Functions

void mainboard_pre_raminit_config (int s3_resume)
 
void mainboard_lpc_decode (void)
 
static void pnp_enter_ext_func_mode (pnp_devfn_t dev)
 
static void pnp_exit_ext_func_mode (pnp_devfn_t dev)
 
void bootblock_mainboard_early_init (void)
 
void mainboard_late_rcba_config (void)
 

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 64 of file early_init.c.

References PNP_DEV, pnp_enter_ext_func_mode(), pnp_exit_ext_func_mode(), and pnp_write_config().

Here is the call graph for this function:

◆ mainboard_late_rcba_config()

void mainboard_late_rcba_config ( void  )

Definition at line 107 of file early_init.c.

References D27IR, D28IP, D28IR, D29IR, D30IR, D31IP, D31IR, FD, FD_INTLAN, RCBA16, and RCBA32.

◆ mainboard_lpc_decode()

void mainboard_lpc_decode ( void  )

Definition at line 34 of file early_init.c.

References get_uint_option(), LPC_EN, LPC_IO_DEC, LPT_LPC_EN, PCI_DEV, pci_update_config32(), and pci_write_config16().

Here is the call graph for this function:

◆ mainboard_pre_raminit_config()

void mainboard_pre_raminit_config ( int  s3_resume)

Definition at line 13 of file early_init.c.

References BIOS_SPEW, DEFAULT_GPIOBASE, inl(), outl(), and printk.

Here is the call graph for this function:

◆ pnp_enter_ext_func_mode()

static void pnp_enter_ext_func_mode ( pnp_devfn_t  dev)
static

Definition at line 52 of file early_init.c.

References outb().

Referenced by bootblock_mainboard_early_init(), pilot_early_init(), and setup_sio_gpio().

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

◆ pnp_exit_ext_func_mode()

static void pnp_exit_ext_func_mode ( pnp_devfn_t  dev)
static

Definition at line 58 of file early_init.c.

References outb().

Referenced by bootblock_mainboard_early_init(), pilot_early_init(), and setup_sio_gpio().

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