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
26 POWER_RESET_WATCHDOG
= 1,
27 POWER_RESET_SENSOR
= 2,
28 POWER_RESET_SW_MAIN
= 3,
31 int power_reset_status(void);
33 void ram_repair(void);
35 #endif /* __SOC_NVIDIA_TEGRA124_POWER_H__ */