coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
power.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __SOC_NVIDIA_TEGRA124_POWER_H__
4 #define __SOC_NVIDIA_TEGRA124_POWER_H__
5 
6 // This function does not enable the external power to the rail, it enables
7 // the rail itself internal to the SOC.
9 
10 // power_reset_status returns one of the following possible sources for the
11 // most recent reset.
12 enum {
17  POWER_RESET_LP0 = 4
18 };
19 int power_reset_status(void);
20 
21 void ram_repair(void);
22 
23 #endif /* __SOC_NVIDIA_TEGRA124_POWER_H__ */
int power_reset_status(void)
Definition: power.c:74
void power_enable_and_ungate_cpu(void)
Definition: power.c:52
@ POWER_RESET_SW_MAIN
Definition: power.h:16
@ POWER_RESET_SENSOR
Definition: power.h:15
@ POWER_RESET_LP0
Definition: power.h:17
@ POWER_RESET_POR
Definition: power.h:13
@ POWER_RESET_WATCHDOG
Definition: power.h:14
void ram_repair(void)