Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright 2014 Freescale Semiconductor, Inc.
0004  */
0005 
0006 #include <linux/linkage.h>
0007 #include <asm/assembler.h>
0008 #include <asm/asm-offsets.h>
0009 #include <asm/hardware/cache-l2x0.h>
0010 #include "hardware.h"
0011 
0012 /*
0013  * The following code must assume it is running from physical address
0014  * where absolute virtual addresses to the data section have to be
0015  * turned into relative ones.
0016  */
0017 
0018 ENTRY(v7_cpu_resume)
0019     bl  v7_invalidate_l1
0020 #ifdef CONFIG_CACHE_L2X0
0021     bl  l2c310_early_resume
0022 #endif
0023     b   cpu_resume
0024 ENDPROC(v7_cpu_resume)