coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ec.c File Reference
#include <acpi/acpi.h>
#include <console/console.h>
#include <ec/ec.h>
#include <ec/google/chromeec/ec.h>
#include <intelblocks/lpc_lib.h>
#include <variant/ec.h>
Include dependency graph for ec.c:

Go to the source code of this file.

Functions

static void ramstage_ec_init (void)
 
static void bootblock_ec_init (void)
 
void mainboard_ec_init (void)
 

Function Documentation

◆ bootblock_ec_init()

static void bootblock_ec_init ( void  )
static

Definition at line 25 of file ec.c.

References google_chromeec_ioport_range(), lpc_enable_fixed_io_ranges(), LPC_IOE_EC_62_66, LPC_IOE_KBC_60_64, LPC_IOE_LGE_200, and lpc_open_pmio_window().

Referenced by mainboard_ec_init().

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

◆ mainboard_ec_init()

void mainboard_ec_init ( void  )

Definition at line 41 of file ec.c.

References bootblock_ec_init(), ENV_BOOTBLOCK, ENV_RAMSTAGE, and ramstage_ec_init().

Here is the call graph for this function:

◆ ramstage_ec_init()

static void ramstage_ec_init ( void  )
static

Definition at line 10 of file ec.c.

References acpi_is_wakeup_s3(), BIOS_ERR, google_chromeec_events_init(), info, MAINBOARD_EC_LOG_EVENTS, MAINBOARD_EC_S0IX_WAKE_EVENTS, MAINBOARD_EC_S3_WAKE_EVENTS, MAINBOARD_EC_S5_WAKE_EVENTS, MAINBOARD_EC_SCI_EVENTS, and printk.

Referenced by mainboard_ec_init().

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