diff options
Diffstat (limited to 'arch/arm/mach-tegra/reset.c')
-rw-r--r-- | arch/arm/mach-tegra/reset.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/reset.c b/arch/arm/mach-tegra/reset.c index e05da7d10c3b..3fd89ecd158e 100644 --- a/arch/arm/mach-tegra/reset.c +++ b/arch/arm/mach-tegra/reset.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include "iomap.h" | 25 | #include "iomap.h" |
26 | #include "irammap.h" | 26 | #include "irammap.h" |
27 | #include "reset.h" | 27 | #include "reset.h" |
28 | #include "sleep.h" | ||
28 | #include "fuse.h" | 29 | #include "fuse.h" |
29 | 30 | ||
30 | #define TEGRA_IRAM_RESET_BASE (TEGRA_IRAM_BASE + \ | 31 | #define TEGRA_IRAM_RESET_BASE (TEGRA_IRAM_BASE + \ |
@@ -79,5 +80,10 @@ void __init tegra_cpu_reset_handler_init(void) | |||
79 | virt_to_phys((void *)tegra_secondary_startup); | 80 | virt_to_phys((void *)tegra_secondary_startup); |
80 | #endif | 81 | #endif |
81 | 82 | ||
83 | #ifdef CONFIG_PM_SLEEP | ||
84 | __tegra_cpu_reset_handler_data[TEGRA_RESET_STARTUP_LP2] = | ||
85 | virt_to_phys((void *)tegra_resume); | ||
86 | #endif | ||
87 | |||
82 | tegra_cpu_reset_handler_enable(); | 88 | tegra_cpu_reset_handler_enable(); |
83 | } | 89 | } |