xref: /openbmc/linux/arch/arm/mach-s5pv210/sleep.S (revision 4f3db074)
1/*
2 * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
3 *		http://www.samsung.com
4 *
5 * S5PV210 Sleep Code
6 * Based on S3C64XX sleep code by:
7 *	Ben Dooks, (c) 2008 Simtec Electronics
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
15#include <linux/linkage.h>
16
17	.text
18	.align
19
20	/*
21	 * sleep magic, to allow the bootloader to check for an valid
22	 * image to resume to. Must be the first word before the
23	 * s3c_cpu_resume entry.
24	 */
25
26	.word	0x2bedf00d
27
28	/*
29	 * s3c_cpu_resume
30	 *
31	 * resume code entry for bootloader to call
32	 */
33
34ENTRY(s5pv210_cpu_resume)
35	b	cpu_resume
36ENDPROC(s5pv210_cpu_resume)
37