xref: /openbmc/linux/arch/arm/mach-s5pv210/sleep.S (revision 0a90d4d62c71e27cedebf938d7c37db543b93e78)
1*0a90d4d6STomasz Figa/*
2*0a90d4d6STomasz Figa * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
3*0a90d4d6STomasz Figa *		http://www.samsung.com
4*0a90d4d6STomasz Figa *
5*0a90d4d6STomasz Figa * S5PV210 Sleep Code
6*0a90d4d6STomasz Figa * Based on S3C64XX sleep code by:
7*0a90d4d6STomasz Figa *	Ben Dooks, (c) 2008 Simtec Electronics
8*0a90d4d6STomasz Figa *
9*0a90d4d6STomasz Figa * This program is free software; you can redistribute it and/or modify
10*0a90d4d6STomasz Figa * it under the terms of the GNU General Public License as published by
11*0a90d4d6STomasz Figa * the Free Software Foundation; either version 2 of the License, or
12*0a90d4d6STomasz Figa * (at your option) any later version.
13*0a90d4d6STomasz Figa */
14*0a90d4d6STomasz Figa
15*0a90d4d6STomasz Figa#include <linux/linkage.h>
16*0a90d4d6STomasz Figa
17*0a90d4d6STomasz Figa	.data
18*0a90d4d6STomasz Figa	.align
19*0a90d4d6STomasz Figa
20*0a90d4d6STomasz Figa	/*
21*0a90d4d6STomasz Figa	 * sleep magic, to allow the bootloader to check for an valid
22*0a90d4d6STomasz Figa	 * image to resume to. Must be the first word before the
23*0a90d4d6STomasz Figa	 * s3c_cpu_resume entry.
24*0a90d4d6STomasz Figa	 */
25*0a90d4d6STomasz Figa
26*0a90d4d6STomasz Figa	.word	0x2bedf00d
27*0a90d4d6STomasz Figa
28*0a90d4d6STomasz Figa	/*
29*0a90d4d6STomasz Figa	 * s3c_cpu_resume
30*0a90d4d6STomasz Figa	 *
31*0a90d4d6STomasz Figa	 * resume code entry for bootloader to call
32*0a90d4d6STomasz Figa	 */
33*0a90d4d6STomasz Figa
34*0a90d4d6STomasz FigaENTRY(s5pv210_cpu_resume)
35*0a90d4d6STomasz Figa	b	cpu_resume
36*0a90d4d6STomasz FigaENDPROC(s5pv210_cpu_resume)
37