pm-tegra30.c 518 B

123456789101112131415161718192021222324
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (c) 2013, NVIDIA Corporation. All rights reserved.
  4. */
  5. #include <linux/kernel.h>
  6. #include "pm.h"
  7. #ifdef CONFIG_PM_SLEEP
  8. extern u32 tegra30_iram_start, tegra30_iram_end;
  9. extern void tegra30_sleep_core_finish(unsigned long);
  10. void tegra30_lp1_iram_hook(void)
  11. {
  12. tegra_lp1_iram.start_addr = &tegra30_iram_start;
  13. tegra_lp1_iram.end_addr = &tegra30_iram_end;
  14. }
  15. void tegra30_sleep_core_init(void)
  16. {
  17. tegra_sleep_core_finish = tegra30_sleep_core_finish;
  18. }
  19. #endif