coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.c File Reference
#include <assert.h>
#include <soc/early_init.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for early_init.c:

Go to the source code of this file.

Functions

static struct early_init_datafind_early_init (void)
 
void early_init_clear (void)
 
void early_init_save_time (enum early_init_type init_type)
 
long early_init_get_elapsed_time_us (enum early_init_type init_type)
 

Function Documentation

◆ early_init_clear()

void early_init_clear ( void  )

Definition at line 14 of file early_init.c.

References find_early_init(), and memset().

Referenced by bootblock_soc_init().

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

◆ early_init_get_elapsed_time_us()

long early_init_get_elapsed_time_us ( enum early_init_type  init_type)

Definition at line 34 of file early_init.c.

References find_early_init(), early_init_data::init_time, memcmp(), mono_time_diff_microseconds(), and timer_monotonic_get().

Referenced by mtk_pcie_domain_enable().

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

◆ early_init_save_time()

void early_init_save_time ( enum early_init_type  init_type)

Definition at line 24 of file early_init.c.

References find_early_init(), early_init_data::init_time, and timer_monotonic_get().

Referenced by mtk_pcie_pre_init().

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

◆ find_early_init()

static struct early_init_data* find_early_init ( void  )
static

Definition at line 8 of file early_init.c.

References assert, and REGION_SIZE.

Referenced by early_init_clear(), early_init_get_elapsed_time_us(), and early_init_save_time().

Here is the caller graph for this function: