xref: /kernel/linux/linux-5.10/arch/arm/mach-tegra/pm-tegra20.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/arm/mach-tegra/
18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2013, NVIDIA Corporation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#include <linux/kernel.h>
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#include "pm.h"
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#ifdef CONFIG_PM_SLEEP
118c2ecf20Sopenharmony_ciextern u32 tegra20_iram_start, tegra20_iram_end;
128c2ecf20Sopenharmony_ciextern void tegra20_sleep_core_finish(unsigned long);
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_civoid tegra20_lp1_iram_hook(void)
158c2ecf20Sopenharmony_ci{
168c2ecf20Sopenharmony_ci	tegra_lp1_iram.start_addr = &tegra20_iram_start;
178c2ecf20Sopenharmony_ci	tegra_lp1_iram.end_addr = &tegra20_iram_end;
188c2ecf20Sopenharmony_ci}
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_civoid tegra20_sleep_core_init(void)
218c2ecf20Sopenharmony_ci{
228c2ecf20Sopenharmony_ci	tegra_sleep_core_finish = tegra20_sleep_core_finish;
238c2ecf20Sopenharmony_ci}
248c2ecf20Sopenharmony_ci#endif
25

Indexes created Thu Nov 07 10:32:03 CST 2024