forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/mach-tegra/sleep.h
....@@ -1,17 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2010-2013, NVIDIA Corporation. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * You should have received a copy of the GNU General Public License
14
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
154 */
165
176 #ifndef __MACH_TEGRA_SLEEP_H
....@@ -125,29 +114,14 @@
125114 .endm
126115
127116 #else
128
-void tegra_pen_lock(void);
129
-void tegra_pen_unlock(void);
130117 void tegra_resume(void);
131118 int tegra_sleep_cpu_finish(unsigned long);
132119 void tegra_disable_clean_inv_dcache(u32 flag);
133120
134
-#ifdef CONFIG_HOTPLUG_CPU
135121 void tegra20_hotplug_shutdown(void);
136122 void tegra30_hotplug_shutdown(void);
137
-#endif
138123
139
-void tegra20_cpu_shutdown(int cpu);
140
-int tegra20_cpu_is_resettable_soon(void);
141
-void tegra20_cpu_clear_resettable(void);
142
-#ifdef CONFIG_ARCH_TEGRA_2x_SOC
143
-void tegra20_cpu_set_resettable_soon(void);
144
-#else
145
-static inline void tegra20_cpu_set_resettable_soon(void) {}
146
-#endif
147
-
148
-int tegra20_sleep_cpu_secondary_finish(unsigned long);
149124 void tegra20_tear_down_cpu(void);
150
-int tegra30_sleep_cpu_secondary_finish(unsigned long);
151125 void tegra30_tear_down_cpu(void);
152126
153127 #endif