Commit | Line | Data |
---|---|---|
8eadcf74 | 1 | /* |
1663895c JL |
2 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. |
3 | * http://www.samsung.com | |
4 | * | |
e2e13621 AK |
5 | * Common S5P Sleep Code |
6 | * Based on S3C64XX sleep code by: | |
7 | * Ben Dooks, (c) 2008 Simtec Electronics | |
1663895c JL |
8 | * |
9 | * This program is free software; you can redistribute it and/or modify | |
10 | * it under the terms of the GNU General Public License as published by | |
11 | * the Free Software Foundation; either version 2 of the License, or | |
12 | * (at your option) any later version. | |
13 | * | |
14 | * This program is distributed in the hope that it will be useful, | |
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | * GNU General Public License for more details. | |
18 | * | |
19 | * You should have received a copy of the GNU General Public License | |
20 | * along with this program; if not, write to the Free Software | |
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 | */ | |
23 | ||
24 | #include <linux/linkage.h> | |
1663895c | 25 | |
7c6035b6 ADK |
26 | .data |
27 | .align | |
1663895c | 28 | |
1663895c JL |
29 | /* |
30 | * sleep magic, to allow the bootloader to check for an valid | |
31 | * image to resume to. Must be the first word before the | |
32 | * s3c_cpu_resume entry. | |
33 | */ | |
34 | ||
35 | .word 0x2bedf00d | |
36 | ||
37 | /* | |
38 | * s3c_cpu_resume | |
39 | * | |
40 | * resume code entry for bootloader to call | |
1663895c JL |
41 | */ |
42 | ||
43 | ENTRY(s3c_cpu_resume) | |
44 | b cpu_resume | |
7c6035b6 | 45 | ENDPROC(s3c_cpu_resume) |