Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arm / mach-imx / resume-imx6.S
blob2c0c5c771251650368e49c19a53bb2871fdffc04
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright 2014 Freescale Semiconductor, Inc.
4  */
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"
12 .arch armv7-a
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  */
20 ENTRY(v7_cpu_resume)
21         bl      v7_invalidate_l1
22 #ifdef CONFIG_CACHE_L2X0
23         bl      l2c310_early_resume
24 #endif
25         b       cpu_resume
26 ENDPROC(v7_cpu_resume)