coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef SOC_MEDIATEK_EARLY_INIT_H
4
#define SOC_MEDIATEK_EARLY_INIT_H
5
6
#include <soc/symbols.h>
7
#include <
stdint.h
>
8
#include <symbols.h>
9
#include <timer.h>
10
11
DECLARE_REGION
(
early_init_data
);
12
13
enum
early_init_type
{
14
EARLY_INIT_PCIE
,
15
EARLY_INIT_MAX
,
16
};
17
18
struct
early_init_data
{
19
struct
mono_time
init_time
[
EARLY_INIT_MAX
];
20
};
21
22
void
early_init_clear
(
void
);
23
void
early_init_save_time
(
enum
early_init_type
init_type);
24
long
early_init_get_elapsed_time_us
(
enum
early_init_type
init_type);
25
26
#endif
/* SOC_MEDIATEK_EARLY_INIT_H */
early_init_get_elapsed_time_us
long early_init_get_elapsed_time_us(enum early_init_type init_type)
Definition:
early_init.c:34
DECLARE_REGION
DECLARE_REGION(early_init_data)
early_init_type
early_init_type
Definition:
early_init.h:13
EARLY_INIT_PCIE
@ EARLY_INIT_PCIE
Definition:
early_init.h:14
EARLY_INIT_MAX
@ EARLY_INIT_MAX
Definition:
early_init.h:15
early_init_save_time
void early_init_save_time(enum early_init_type init_type)
Definition:
early_init.c:24
early_init_clear
void early_init_clear(void)
Definition:
early_init.c:14
stdint.h
early_init_data
Definition:
early_init.h:18
early_init_data::init_time
struct mono_time init_time[EARLY_INIT_MAX]
Definition:
early_init.h:19
mono_time
Definition:
timer.h:19
src
soc
mediatek
common
include
soc
early_init.h
Generated by
1.9.1