coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mtc.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __SOC_NVIDIA_TEGRA210_MTC_H__
4 #define __SOC_NVIDIA_TEGRA210_MTC_H__
5 
6 #include <boot/coreboot_tables.h>
7 
8 #if CONFIG(HAVE_MTC)
9 
10 int tegra210_run_mtc(void);
11 void soc_add_mtc(struct lb_header *header);
12 
13 #else
14 
15 static inline int tegra210_run_mtc(void) { return 0; }
16 static inline void soc_add_mtc(struct lb_header *header) {}
17 
18 #endif /* CONFIG_HAVE_MTC */
19 
20 #endif /* __SOC_NVIDIA_TEGRA210_MTC_H__ */
struct arm64_kernel_header header
Definition: fit_payload.c:30
static int tegra210_run_mtc(void)
Definition: mtc.h:15
static void soc_add_mtc(struct lb_header *header)
Definition: mtc.h:16