soc: Remove copyright notices
[coreboot.git] / src / soc / nvidia / tegra124 / include / soc / power.h
blob33afbeb08fa8cd896e6219c48ea6e2df85328804
1 /*
2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef __SOC_NVIDIA_TEGRA124_POWER_H__
16 #define __SOC_NVIDIA_TEGRA124_POWER_H__
18 // This function does not enable the external power to the rail, it enables
19 // the rail itself internal to the SOC.
20 void power_enable_and_ungate_cpu(void);
22 // power_reset_status returns one of the following possible sources for the
23 // most recent reset.
24 enum {
25 POWER_RESET_POR = 0,
26 POWER_RESET_WATCHDOG = 1,
27 POWER_RESET_SENSOR = 2,
28 POWER_RESET_SW_MAIN = 3,
29 POWER_RESET_LP0 = 4
31 int power_reset_status(void);
33 void ram_repair(void);
35 #endif /* __SOC_NVIDIA_TEGRA124_POWER_H__ */