2019-05-29 01:10:04 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2013-08-12 17:40:05 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013, NVIDIA Corporation. All rights reserved.
|
|
|
|
*/
|
2014-07-11 15:44:49 +08:00
|
|
|
|
2013-08-12 17:40:05 +08:00
|
|
|
#include <linux/kernel.h>
|
|
|
|
|
|
|
|
#include "pm.h"
|
|
|
|
|
|
|
|
#ifdef CONFIG_PM_SLEEP
|
|
|
|
extern u32 tegra20_iram_start, tegra20_iram_end;
|
|
|
|
extern void tegra20_sleep_core_finish(unsigned long);
|
|
|
|
|
|
|
|
void tegra20_lp1_iram_hook(void)
|
|
|
|
{
|
|
|
|
tegra_lp1_iram.start_addr = &tegra20_iram_start;
|
|
|
|
tegra_lp1_iram.end_addr = &tegra20_iram_end;
|
|
|
|
}
|
|
|
|
|
|
|
|
void tegra20_sleep_core_init(void)
|
|
|
|
{
|
|
|
|
tegra_sleep_core_finish = tegra20_sleep_core_finish;
|
|
|
|
}
|
|
|
|
#endif
|