Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (c) 2013, NVIDIA Corporation. All rights reserved.
0004  */
0005 
0006 #include <linux/kernel.h>
0007 
0008 #include "pm.h"
0009 
0010 #ifdef CONFIG_PM_SLEEP
0011 extern u32 tegra30_iram_start, tegra30_iram_end;
0012 extern void tegra30_sleep_core_finish(unsigned long);
0013 
0014 void tegra30_lp1_iram_hook(void)
0015 {
0016     tegra_lp1_iram.start_addr = &tegra30_iram_start;
0017     tegra_lp1_iram.end_addr = &tegra30_iram_end;
0018 }
0019 
0020 void tegra30_sleep_core_init(void)
0021 {
0022     tegra_sleep_core_finish = tegra30_sleep_core_finish;
0023 }
0024 #endif