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 tegra210_run_mtc(void)15static inline int tegra210_run_mtc(void) { return 0; } soc_add_mtc(struct lb_header * header)16static inline void soc_add_mtc(struct lb_header *header) {} 17 18 #endif /* CONFIG_HAVE_MTC */ 19 20 #endif /* __SOC_NVIDIA_TEGRA210_MTC_H__ */ 21