coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
com_init.c File Reference
#include <bootblock_common.h>
#include <device/pnp_ops.h>
#include <device/pnp.h>
#include "onboard.h"
Include dependency graph for com_init.c:

Go to the source code of this file.

Macros

#define SERIAL_DEV1   PNP_DEV(ITE8528_CMD_PORT, 1) /* ITE8528 UART1 */
 
#define SERIAL_DEV2   PNP_DEV(ITE8528_CMD_PORT, 2) /* ITE8528 UART2 */
 

Functions

void bootblock_mainboard_early_init (void)
 

Macro Definition Documentation

◆ SERIAL_DEV1

#define SERIAL_DEV1   PNP_DEV(ITE8528_CMD_PORT, 1) /* ITE8528 UART1 */

Definition at line 8 of file com_init.c.

◆ SERIAL_DEV2

#define SERIAL_DEV2   PNP_DEV(ITE8528_CMD_PORT, 2) /* ITE8528 UART2 */

Definition at line 9 of file com_init.c.

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 11 of file com_init.c.

References PNP_IDX_IO0, PNP_IDX_IRQ0, pnp_set_enable(), pnp_set_iobase(), pnp_set_irq(), pnp_set_logical_device(), SERIAL_DEV1, and SERIAL_DEV2.

Here is the call graph for this function: