xref: /linux/arch/arm/mach-imx/resume-imx6.S (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright 2014 Freescale Semiconductor, Inc.
4 */
5
6#include <linux/linkage.h>
7#include <asm/assembler.h>
8#include <asm/asm-offsets.h>
9#include <asm/hardware/cache-l2x0.h>
10#include "hardware.h"
11
12.arch armv7-a
13
14/*
15 * The following code must assume it is running from physical address
16 * where absolute virtual addresses to the data section have to be
17 * turned into relative ones.
18 */
19
20ENTRY(v7_cpu_resume)
21	bl	v7_invalidate_l1
22#ifdef CONFIG_CACHE_L2X0
23	bl	l2c310_early_resume
24#endif
25	b	cpu_resume
26ENDPROC(v7_cpu_resume)
27