repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
25 lines
518 B
C
25 lines
518 B
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
|