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 8 #include <linux/linkage.h> 9 #include <asm/assembler.h> 10 #include <mach/hardware.h> 11 #include <mach/map.h> 12 13 #include <mach/regs-gpio.h> 14 15 .text 16 .global h1940_pm_return 17 18 h1940_pm_return: 19 mov r0, #S3C2410_PA_GPIO 20 ldr pc, [r0, #S3C2410_GSTATUS3 - S3C24XX_VA_GPIO]