Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #include <linux/linkage.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #include <linux/init.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #include <asm/assembler.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #include "proc-macros.S"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) ENTRY(nop_flush_icache_all)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	ret	lr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) ENDPROC(nop_flush_icache_all)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	.globl nop_flush_kern_cache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	.equ nop_flush_kern_cache_all, nop_flush_icache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	.globl nop_flush_kern_cache_louis
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	.equ nop_flush_kern_cache_louis, nop_flush_icache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	.globl nop_flush_user_cache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	.equ nop_flush_user_cache_all, nop_flush_icache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	.globl nop_flush_user_cache_range
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	.equ nop_flush_user_cache_range, nop_flush_icache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	.globl nop_coherent_kern_range
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	.equ nop_coherent_kern_range, nop_flush_icache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) ENTRY(nop_coherent_user_range)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	mov	r0, 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	ret	lr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) ENDPROC(nop_coherent_user_range)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	.globl nop_flush_kern_dcache_area
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	.equ nop_flush_kern_dcache_area, nop_flush_icache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	.globl nop_dma_flush_range
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	.equ nop_dma_flush_range, nop_flush_icache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	.globl nop_dma_map_area
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	.equ nop_dma_map_area, nop_flush_icache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	.globl nop_dma_unmap_area
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 	.equ nop_dma_unmap_area, nop_flush_icache_all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 	__INITDATA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 	@ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 	define_cache_functions nop