coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <bootblock_common.h>
#include <device/pci_ops.h>
#include <device/pnp_ops.h>
#include <northbridge/intel/sandybridge/raminit_native.h>
#include <option.h>
#include <southbridge/intel/bd82x6x/pch.h>
#include <superio/nuvoton/common/nuvoton.h>
#include <superio/nuvoton/nct6776/nct6776.h>
Go to the source code of this file.
Macros | |
#define | GLOBAL_DEV PNP_DEV(0x2e, 0) |
#define | SERIAL_DEV PNP_DEV(0x2e, NCT6776_SP1) |
#define | GPIO6789_DEV PNP_DEV(0x2e, NCT6776_GPIO6789_V) |
Enumerations | |
enum | cpu_fan_tach_src { CPU_FAN_HEADER_NONE , CPU_FAN_HEADER_1 , CPU_FAN_HEADER_2 , CPU_FAN_HEADER_BOTH } |
Functions | |
static u8 | get_cpufanin_gpio_config (void) |
void | bootblock_mainboard_early_init (void) |
void | mainboard_get_spd (spd_raw_data *spd, bool id_only) |
Variables | |
const struct southbridge_usb_port | mainboard_usb_ports [] |
#define GLOBAL_DEV PNP_DEV(0x2e, 0) |
Definition at line 14 of file early_init.c.
#define GPIO6789_DEV PNP_DEV(0x2e, NCT6776_GPIO6789_V) |
Definition at line 16 of file early_init.c.
#define SERIAL_DEV PNP_DEV(0x2e, NCT6776_SP1) |
Definition at line 15 of file early_init.c.
enum cpu_fan_tach_src |
Enumerator | |
---|---|
CPU_FAN_HEADER_NONE | |
CPU_FAN_HEADER_1 | |
CPU_FAN_HEADER_2 | |
CPU_FAN_HEADER_BOTH |
Definition at line 19 of file early_init.c.
Definition at line 67 of file early_init.c.
References get_cpufanin_gpio_config(), GLOBAL_DEV, GPIO6789_DEV, nuvoton_enable_serial(), nuvoton_pnp_enter_conf_state(), nuvoton_pnp_exit_conf_state(), pnp_set_logical_device(), pnp_write_config(), and SERIAL_DEV.
Definition at line 52 of file early_init.c.
References CPU_FAN_HEADER_1, CPU_FAN_HEADER_2, CPU_FAN_HEADER_BOTH, CPU_FAN_HEADER_NONE, and get_uint_option().
Referenced by bootblock_mainboard_early_init().
void mainboard_get_spd | ( | spd_raw_data * | spd, |
bool | id_only | ||
) |
Definition at line 91 of file early_init.c.
References read_spd().
const struct southbridge_usb_port mainboard_usb_ports[] |
Definition at line 1 of file early_init.c.