https://github.com/torvalds/linux
Raw File
Tip revision: 7877cb91f1081754a1487c144d85dc0d2e2e7fc4 authored by Linus Torvalds on 28 May 2023, 11:49:00 UTC
Linux 6.4-rc4
Tip revision: 7877cb9
pm-tegra30.c
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2013, NVIDIA Corporation. All rights reserved.
 */

#include <linux/kernel.h>

#include "pm.h"

#ifdef CONFIG_PM_SLEEP
extern u32 tegra30_iram_start, tegra30_iram_end;
extern void tegra30_sleep_core_finish(unsigned long);

void tegra30_lp1_iram_hook(void)
{
	tegra_lp1_iram.start_addr = &tegra30_iram_start;
	tegra_lp1_iram.end_addr = &tegra30_iram_end;
}

void tegra30_sleep_core_init(void)
{
	tegra_sleep_core_finish = tegra30_sleep_core_finish;
}
#endif
back to top