Merge tag 'drm-next-2021-08-31-1' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git] / arch / arm / mach-imx / resume-imx6.S
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 /*
13  * The following code must assume it is running from physical address
14  * where absolute virtual addresses to the data section have to be
15  * turned into relative ones.
16  */
17
18 ENTRY(v7_cpu_resume)
19         bl      v7_invalidate_l1
20 #ifdef CONFIG_CACHE_L2X0
21         bl      l2c310_early_resume
22 #endif
23         b       cpu_resume
24 ENDPROC(v7_cpu_resume)