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/google/chromeec/ec.h>
#include <amdblocks/lpc.h>
#include <soc/southbridge.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 early_ec_init (void)
 
void mainboard_ec_init (void)
 

Function Documentation

◆ early_ec_init()

static void early_ec_init ( void  )
static

Definition at line 24 of file ec.c.

References BIOS_DEBUG, BIOS_ERR, google_chromeec_ioport_range(), lpc_set_wideio_range(), printk, and WIDEIO_RANGE_ERROR.

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 47 of file ec.c.

References early_ec_init(), 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_DEBUG, google_chromeec_events_init(), info, MAINBOARD_EC_LOG_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: