![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <endian.h>
#include <device/pnp_ops.h>
#include <device/pnp_def.h>
#include "bootblock.h"
Go to the source code of this file.
Macros | |
#define | PNP_CFG_IDX 0x2e |
#define | PNP_LDN_SERIAL 0x0d |
Functions | |
static void | pnp_enter_conf_state (pnp_devfn_t dev) |
static void | pnp_exit_conf_state (pnp_devfn_t dev) |
static void | wilco_ec_serial_init (void) |
void | wilco_ec_early_init (void) |
wilco_ec_early_init More... | |
#define PNP_CFG_IDX 0x2e |
Definition at line 10 of file bootblock.c.
#define PNP_LDN_SERIAL 0x0d |
Definition at line 11 of file bootblock.c.
|
static |
Definition at line 13 of file bootblock.c.
References outb(), and PNP_CFG_IDX.
Referenced by aspeed_early_config(), bootblock_mainboard_early_init(), gpio_init(), ite_evc_conf(), ite_gpio_conf(), lpc_read(), lpc_write(), mainboard_configure_super_io(), and wilco_ec_serial_init().
|
static |
Definition at line 19 of file bootblock.c.
References outb(), and PNP_CFG_IDX.
Referenced by aspeed_early_config(), bootblock_mainboard_early_init(), gpio_init(), ite_evc_conf(), ite_gpio_conf(), lpc_read(), lpc_write(), mainboard_configure_super_io(), and wilco_ec_serial_init().
wilco_ec_early_init
This function performs early initialization of the EC:
Definition at line 36 of file bootblock.c.
References CONFIG, and wilco_ec_serial_init().
Referenced by bootblock_mainboard_init().
Definition at line 24 of file bootblock.c.
References PNP_CFG_IDX, PNP_DEV, pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_IO0, PNP_IDX_IO1, PNP_LDN_SERIAL, pnp_set_enable(), pnp_set_iobase(), pnp_set_logical_device(), and pnp_write_config().
Referenced by wilco_ec_early_init().