![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <bootblock_common.h>
#include <stdint.h>
#include <cf9_reset.h>
#include <device/pnp_ops.h>
#include <superio/winbond/common/winbond.h>
#include <superio/winbond/w83627dhg/w83627dhg.h>
#include <console/console.h>
#include <northbridge/intel/i945/i945.h>
#include <southbridge/intel/i82801gx/i82801gx.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/speedstep.h>
#include <arch/cpu.h>
Go to the source code of this file.
Macros | |
#define | SERIAL_DEV PNP_DEV(0x2e, W83627DHG_SP1) |
#define | GPIO_DEV PNP_DEV(0x2e, W83627DHG_GPIO2345_V) |
Functions | |
static int | setup_sio_gpio (u8 bsel) |
static u8 | msr_get_fsb (void) |
void | mainboard_late_rcba_config (void) |
void | mainboard_pre_raminit_config (int s3_resume) |
void | bootblock_mainboard_early_init (void) |
#define GPIO_DEV PNP_DEV(0x2e, W83627DHG_GPIO2345_V) |
Definition at line 17 of file early_init.c.
#define SERIAL_DEV PNP_DEV(0x2e, W83627DHG_SP1) |
Definition at line 16 of file early_init.c.
Definition at line 99 of file early_init.c.
References SERIAL_DEV, and winbond_enable_serial().
Definition at line 79 of file early_init.c.
void mainboard_pre_raminit_config | ( | int | s3_resume | ) |
Definition at line 85 of file early_init.c.
References BIOS_DEBUG, full_reset(), msr_get_fsb(), printk, and setup_sio_gpio().
Definition at line 61 of file early_init.c.
References cpuid_eax(), msr_struct::lo, MSR_EBC_FREQUENCY_ID, MSR_FSB_FREQ, and rdmsr().
Referenced by mainboard_pre_raminit_config().
|
static |
Definition at line 24 of file early_init.c.
References GPIO_DEV, pnp_enter_ext_func_mode(), pnp_exit_ext_func_mode(), pnp_read_config(), pnp_set_logical_device(), and pnp_write_config().
Referenced by mainboard_pre_raminit_config().