coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_serial.c File Reference
#include <arch/io.h>
#include <delay.h>
#include <device/pnp_def.h>
#include <device/pnp_ops.h>
#include <stdint.h>
#include "aspeed.h"
Include dependency graph for early_serial.c:

Go to the source code of this file.

Functions

void pnp_enter_conf_state (pnp_devfn_t dev)
 
void pnp_exit_conf_state (pnp_devfn_t dev)
 
void aspeed_enable_serial (pnp_devfn_t dev, u16 iobase)
 

Function Documentation

◆ aspeed_enable_serial()

void aspeed_enable_serial ( pnp_devfn_t  dev,
u16  iobase 
)

Definition at line 45 of file early_serial.c.

References CONFIG, mdelay(), pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_IO0, pnp_set_enable(), pnp_set_iobase(), and pnp_set_logical_device().

Referenced by bootblock_mainboard_early_init(), and early_config_superio().

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

◆ pnp_enter_conf_state()

◆ pnp_exit_conf_state()