coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c File Reference
Include dependency graph for bootblock.c:

Go to the source code of this file.

Macros

#define SUPERIO_ADDRESS   0x4e
 
#define SERIAL_DEV   PNP_DEV(SUPERIO_ADDRESS, F71869AD_SP1)
 
#define GPIO_DEV   PNP_DEV(SUPERIO_ADDRESS, F71869AD_GPIO)
 

Functions

static void gpio_init (pnp_devfn_t dev)
 
static void sbxxx_enable_48mhzout (void)
 
void bootblock_mainboard_early_init (void)
 

Macro Definition Documentation

◆ GPIO_DEV

#define GPIO_DEV   PNP_DEV(SUPERIO_ADDRESS, F71869AD_GPIO)

Definition at line 16 of file bootblock.c.

◆ SERIAL_DEV

#define SERIAL_DEV   PNP_DEV(SUPERIO_ADDRESS, F71869AD_SP1)

Definition at line 15 of file bootblock.c.

◆ SUPERIO_ADDRESS

#define SUPERIO_ADDRESS   0x4e

Definition at line 13 of file bootblock.c.

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 73 of file bootblock.c.

References fintek_enable_serial(), GPIO_DEV, gpio_init(), sbxxx_enable_48mhzout(), and SERIAL_DEV.

Here is the call graph for this function:

◆ gpio_init()

static void gpio_init ( pnp_devfn_t  dev)
static

Definition at line 19 of file bootblock.c.

References pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_IO0, pnp_set_enable(), pnp_set_logical_device(), and pnp_write_config().

Referenced by bootblock_mainboard_early_init(), and bootblock_mainboard_init().

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

◆ sbxxx_enable_48mhzout()

static void sbxxx_enable_48mhzout ( void  )
static

Definition at line 59 of file bootblock.c.

References misc_read32(), and misc_write32().

Referenced by bootblock_mainboard_early_init().

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