xref: /openbmc/linux/arch/arm/mach-s5pv210/sleep.S (revision 049633fc)
1049633fcSKrzysztof Kozlowski/* SPDX-License-Identifier: GPL-2.0+ */
20a90d4d6STomasz Figa/*
30a90d4d6STomasz Figa * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
40a90d4d6STomasz Figa *		http://www.samsung.com
50a90d4d6STomasz Figa *
60a90d4d6STomasz Figa * S5PV210 Sleep Code
70a90d4d6STomasz Figa * Based on S3C64XX sleep code by:
80a90d4d6STomasz Figa *	Ben Dooks, (c) 2008 Simtec Electronics
90a90d4d6STomasz Figa */
100a90d4d6STomasz Figa
110a90d4d6STomasz Figa#include <linux/linkage.h>
120a90d4d6STomasz Figa
1300ee68ecSArd Biesheuvel	.text
140a90d4d6STomasz Figa	.align
150a90d4d6STomasz Figa
160a90d4d6STomasz Figa	/*
170a90d4d6STomasz Figa	 * sleep magic, to allow the bootloader to check for an valid
180a90d4d6STomasz Figa	 * image to resume to. Must be the first word before the
190a90d4d6STomasz Figa	 * s3c_cpu_resume entry.
200a90d4d6STomasz Figa	 */
210a90d4d6STomasz Figa
220a90d4d6STomasz Figa	.word	0x2bedf00d
230a90d4d6STomasz Figa
240a90d4d6STomasz Figa	/*
250a90d4d6STomasz Figa	 * s3c_cpu_resume
260a90d4d6STomasz Figa	 *
270a90d4d6STomasz Figa	 * resume code entry for bootloader to call
280a90d4d6STomasz Figa	 */
290a90d4d6STomasz Figa
300a90d4d6STomasz FigaENTRY(s5pv210_cpu_resume)
310a90d4d6STomasz Figa	b	cpu_resume
320a90d4d6STomasz FigaENDPROC(s5pv210_cpu_resume)
33