blob: 6183a688012b2a5fdac22b6ce24ebfced4d73c1f [file] [log] [blame]
Ben Dooks90733412006-12-06 01:50:24 +01001/* linux/arch/arm/mach-s3c2410/pm-h1940.S
2 *
3 * Copyright (c) 2006 Ben Dooks <ben-linux@fluff.org>
4 *
5 * H1940 Suspend to RAM
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19*/
20
21#include <linux/linkage.h>
22#include <asm/assembler.h>
Russell Kinga09e64f2008-08-05 16:14:15 +010023#include <mach/hardware.h>
24#include <mach/map.h>
Ben Dooks90733412006-12-06 01:50:24 +010025
Russell Kinga09e64f2008-08-05 16:14:15 +010026#include <mach/regs-gpio.h>
Ben Dooks90733412006-12-06 01:50:24 +010027
28 .text
29 .global h1940_pm_return
30
31h1940_pm_return:
32 mov r0, #S3C2410_PA_GPIO
Arnd Bergmann28157742013-01-08 21:58:31 +000033 ldr pc, [r0, #S3C2410_GSTATUS3 - S3C24XX_VA_GPIO]