xref: /openbmc/linux/arch/arm/mach-s5pv210/sleep.S (revision 00ee68ec)
10a90d4d6STomasz Figa/*
20a90d4d6STomasz Figa * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
30a90d4d6STomasz Figa *		http://www.samsung.com
40a90d4d6STomasz Figa *
50a90d4d6STomasz Figa * S5PV210 Sleep Code
60a90d4d6STomasz Figa * Based on S3C64XX sleep code by:
70a90d4d6STomasz Figa *	Ben Dooks, (c) 2008 Simtec Electronics
80a90d4d6STomasz Figa *
90a90d4d6STomasz Figa * This program is free software; you can redistribute it and/or modify
100a90d4d6STomasz Figa * it under the terms of the GNU General Public License as published by
110a90d4d6STomasz Figa * the Free Software Foundation; either version 2 of the License, or
120a90d4d6STomasz Figa * (at your option) any later version.
130a90d4d6STomasz Figa */
140a90d4d6STomasz Figa
150a90d4d6STomasz Figa#include <linux/linkage.h>
160a90d4d6STomasz Figa
1700ee68ecSArd Biesheuvel	.text
180a90d4d6STomasz Figa	.align
190a90d4d6STomasz Figa
200a90d4d6STomasz Figa	/*
210a90d4d6STomasz Figa	 * sleep magic, to allow the bootloader to check for an valid
220a90d4d6STomasz Figa	 * image to resume to. Must be the first word before the
230a90d4d6STomasz Figa	 * s3c_cpu_resume entry.
240a90d4d6STomasz Figa	 */
250a90d4d6STomasz Figa
260a90d4d6STomasz Figa	.word	0x2bedf00d
270a90d4d6STomasz Figa
280a90d4d6STomasz Figa	/*
290a90d4d6STomasz Figa	 * s3c_cpu_resume
300a90d4d6STomasz Figa	 *
310a90d4d6STomasz Figa	 * resume code entry for bootloader to call
320a90d4d6STomasz Figa	 */
330a90d4d6STomasz Figa
340a90d4d6STomasz FigaENTRY(s5pv210_cpu_resume)
350a90d4d6STomasz Figa	b	cpu_resume
360a90d4d6STomasz FigaENDPROC(s5pv210_cpu_resume)
37