coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.h File Reference
#include <soc/symbols.h>
#include <stdint.h>
#include <symbols.h>
#include <timer.h>
Include dependency graph for early_init.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  early_init_data
 

Enumerations

enum  early_init_type { EARLY_INIT_PCIE , EARLY_INIT_MAX }
 

Functions

 DECLARE_REGION (early_init_data)
 
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)
 

Enumeration Type Documentation

◆ early_init_type

Enumerator
EARLY_INIT_PCIE 
EARLY_INIT_MAX 

Definition at line 13 of file early_init.h.

Function Documentation

◆ DECLARE_REGION()

DECLARE_REGION ( early_init_data  )

◆ 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: