pm-h1940.S 389 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (c) 2006 Ben Dooks <ben-linux@fluff.org>
  4. *
  5. * H1940 Suspend to RAM
  6. */
  7. #include <linux/linkage.h>
  8. #include <asm/assembler.h>
  9. #include <mach/hardware.h>
  10. #include <mach/map.h>
  11. #include <mach/regs-gpio.h>
  12. .text
  13. .global h1940_pm_return
  14. h1940_pm_return:
  15. mov r0, #S3C2410_PA_GPIO
  16. ldr pc, [r0, #S3C2410_GSTATUS3 - S3C24XX_VA_GPIO]