Krzysztof Kozlowski | 84b2170 | 2017-12-25 20:54:32 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
Ben Dooks | 9073341 | 2006-12-06 01:50:24 +0100 | [diff] [blame] | 3 | * Copyright (c) 2006 Ben Dooks <ben-linux@fluff.org> |
| 4 | * |
| 5 | * H1940 Suspend to RAM |
Krzysztof Kozlowski | 84b2170 | 2017-12-25 20:54:32 +0100 | [diff] [blame] | 6 | */ |
Ben Dooks | 9073341 | 2006-12-06 01:50:24 +0100 | [diff] [blame] | 7 | |
| 8 | #include <linux/linkage.h> |
| 9 | #include <asm/assembler.h> |
Arnd Bergmann | c6ff132 | 2019-09-02 18:37:30 +0200 | [diff] [blame] | 10 | #include "map.h" |
Ben Dooks | 9073341 | 2006-12-06 01:50:24 +0100 | [diff] [blame] | 11 | |
Arnd Bergmann | c6ff132 | 2019-09-02 18:37:30 +0200 | [diff] [blame] | 12 | #include "regs-gpio.h" |
Ben Dooks | 9073341 | 2006-12-06 01:50:24 +0100 | [diff] [blame] | 13 | |
| 14 | .text |
| 15 | .global h1940_pm_return |
| 16 | |
| 17 | h1940_pm_return: |
| 18 | mov r0, #S3C2410_PA_GPIO |
Arnd Bergmann | 2815774 | 2013-01-08 21:58:31 +0000 | [diff] [blame] | 19 | ldr pc, [r0, #S3C2410_GSTATUS3 - S3C24XX_VA_GPIO] |